InfoScreen
Description
The InfoScreen
type defines a high-level component that is intended to be
displayed as a modal overlay above the current screen.
Properties
body
(Array<string>
, required) - A list of messages to display on the screen.buttons
(Array<Button>
, required) - A list of buttons defining actions that can be taken on the screen.background
(Asset.Source
) - An asset to display as the background of the screen.foreground
(Asset.Source
) - An asset to display as the foreground of the screen.header
(string
) - A short label to use as the title of the screen.eyebrowHeader
(string
) - A short label to use as a tag adjacent to the header.
Example
{
"type" : "InfoScreen",
"header" : "Symbols\nTask"
"eyebrowHeader" : "30 seconds",
"body" : [
"This task takes a look at your ability to map, process and associate visual information."
],
"buttons" : [
{
"type" : "Button",
"label" : "Next",
"onTap" : {
"type" : "User.TappedContinue"
}
}
],
"background" : {
"filename" : "Symbols_Test"
}
}