ExpLookitExitSurvey Class
Standard exit survey for Lookit studies: confirm participant birthdate, ask user for video sharing permission level & Databrary sharing, option to withdraw, freeform comments, debriefing/thank you text. Leaves fullscreen mode.
"frames": {
"my-exit-survey": {
"kind": "exp-lookit-exit-survey"
"debriefing": {
"title": "Thank you!",
"text": "Learning how children react to ducks will help scientists design better rubber ducks.",
"image": {
"src": "https://s3.amazonaws.com/lookitcontents/ducks/duck.png",
"alt": "Very cute duck"
}
}
}
}
Item Index
Properties
Events
Methods
exitFullscreen
()
serializeContent
-
birthDate
-
databraryShare
-
useOfMedia
-
withdrawal
-
feedback
-
eventTimings
Parameters captured and sent to the server
Parameters:
-
birthDate
StringChild's birthdate as entered into exit survey; timestamp string starting YYYY-mm-dd.
-
databraryShare
StringWhether data can be shared with Databrary: 'yes' or 'no'
-
useOfMedia
StringVideo privacy level: 'private', 'scientific', or 'public'
-
withdrawal
BooleanWhether the user checked the box to withdraw video data
-
feedback
StringFreeform comments entered by parent
-
eventTimings
ObjectOnly event captured during this frame is 'nextFrame'; example eventTimings value:
[{u'eventType': u'nextFrame', u'timestamp': u'2016-08-03T00:45:37.157Z'}]
Returns:
The payload sent to the server
showFullscreen
()
Properties
debriefing
Object
Object specifying information to show on second page of exit survey, before returning to main Lookit site.
Sub-properties:
-
title
StringTitle of debriefing page
-
text
StringParagraph to show as debriefing
-
image
ObjectObject specifying source URL [src] & alt-text [alt] for any image to show during debriefing (optional). Example:
{ "src": "https://s3.amazonaws.com/lookitcontents/ducks/duck.png", "alt": "Very cute duck" }
fullScreenElementId
String
Events
nextFrame
Move to next frame