API Docs for: 0.5.1
Show:

ExpExitSurveyPilot Class

This class is deprecated.

This is the exit survey used by the "Your baby the physicist" pilot. Use the updated frame ExpLookitExitSurvey instead.

Methods

exitFullscreen

()
Exit fullscreen mode

serializeContent

(
  • eventTimings
)
Object
The base class does not define any data to save to the server. It does, however, capture some basic event timing data. (such as when the user clicks the "next" button) This section slightly breaks YUIDoc conventions- rather than being a literal guide to using the code, the "parameters" here are abstract descriptions of what data is captured. Each frame that extends ExpFrameBase will send an array eventTimings back to the server upon completion. This array is an ordered list (oldest to newest) of every EVENT that happened during the frame. Each event is represented as an object with at least the properties {'eventType': EVENTNAME, 'timestamp': TIMESTAMP}. Frame-specific events may define additional properties that are sent.

Parameters:

Returns:

showFullscreen

()
Make a specified element fullscreen

Properties

fsButtonID

String
The element ID of a button to show if the user leaves fullscreen mode

fullScreenElementId

String
The element ID of the thing to make full screen (video element, div, etc)

Events

nextFrame

Move to next frame