This is a comparison view for planet size. Text
callouts feature relevant information, while Frames
create graphical representations of size differences.
Staggered animations were added that use the document's onMount
field to trigger when the page loads, and the comparative size graphics were animated to scale in.
- The size comparison graphic is created using
Frames
and programmatically determined zIndex and relative sizes. - Within the footer, a
textToHint
transform is used to create a Hint, which adds the user-defined wake word to a provided string. This is then supplied to theAlexaFooter
'sfooterHint
* property.*
- alexa-layouts
- alexa-styles
- Text
- Frame
- Image
- Container
- Pager
- alexa-layouts:AlexaHeader
- alexa-layouts:AlexaFooter
The layout is the same for these devices, with the exception of medium hub dropping some text for size issues.
The layout is converted to a Pager
, with callout information on one page and programmatically generated Frames
on the other. The onPageChanged
event is used to add a transition animation to the page elements.