-
Notifications
You must be signed in to change notification settings - Fork 1
Modules
Brysen Ackx edited this page Jul 27, 2017
·
1 revision
displays a "fun fact"
properties | type |
---|---|
text | string |
displays a image with a line of text
properties | type |
---|---|
text | string |
resources | string[ ] (with the strings being the imagepaths, only supports one image) |
display a placeholder image with 3 selectable images underneath. This is done by ImageThumbnail. These images can be chosen and will be filled in into the placeholder. It has a piece of text as guidance too.
The answering of this is handled by the handleChange method. handleChange assigns the clicked image to the answer variable.
properties | type |
---|---|
text | string |
resources | string[ ] (with the strings being the imagepaths) |
answer | int (index of the clicked on image) |
correction | int (index of the right image) |
Isn't used.
displays a Map with pinnable location markers on it. handleChange is again used to process the answer and sync with firebase.
properties | type |
---|---|
markers | Object:marker{lat: "", lng: ""} |
displays a quiz, with a question and possible answers.
properties | type |
---|---|
text | string (some accompanying text) |
resources | string[ ] (with the strings being the imagepaths, only one image) |
answer | int (index of the clicked answer) |
correction | int (index of the right answer) |
correctMessage | string, the text displayed when the right answer is picked |
question | text |
options | string[ ] (the possible answers) |
displays a image with a line of text
properties | type |
---|---|
text | string |
resources | string[ ] (with the strings being the imagepaths, only supports one image) |
Yes this is the same as Image Module, my bad
displays a video
properties | type |
---|---|
resources | string[ ] (with the strings being the videopath, only supports one video) |
displays a Youtube video
properties | type |
---|---|
resources | string[ ] (with the strings being the youtube urls, only supports one video) |