Type Definitions
-
AppNavigatorOptions
-
Properties
Name Type Description initialScreenstring The initial screen for the miniapp. If falsy, the first screen defined in the screens will be used. Details
-
NavigationBar
-
Properties
Name Type Attributes Description titlestring The title for the navigation bar. overlayboolean <nullable> (optional) Show this page as an overlay (navigate only). hideboolean <nullable> (optional) Hide this page's navigation bar. buttonsArray.<Button> The Buttons to display on the right side of the navigation bar. leftButtonLeftButton <nullable> The LeftButton to display on the left side of the navigation bar. Details
-
RouteOptions
-
Properties
Name Type Attributes Description overlayboolean <nullable> (optional) Show this page as an overlay (navigate only). replaceboolean <nullable> (optional) Replace the current page with this page in the stack. Details
-
Button
-
Properties
Name Type Attributes Description iconstring <nullable> The location of the icon (use Image.resolveAssetSource(iconFile).uri) or the name of a built-in icon.titlestring <nullable> The title for the button; will be used in case of missing or invalid icon. idstring The ID of the button; will be used in header button events. Cannot contain '.'. adaLabelstring <nullable> The text to read out with screen-reader technology. Details
-
LeftButton
-
Properties
Name Type Attributes Description iconstring <nullable> The location of the icon (use Image.resolveAssetSource(iconFile).uri) or the name of a built-in icon.titlestring <nullable> The title for the button (iOS only). idstring <nullable> The ID of the button; will be used in header button events. If set, the press event must be handled on the JavaScript side, as native will no longer handle the back press. Cannot contain '.'. adaLabelstring <nullable> The text to read out with screen-reader technology. Details
-
NavigationEvent
-
Properties
Name Type Attributes Description eventType'BUTTON_CLICK' | 'DID_FOCUS' | 'DID_BLUR' | 'APP_DATA' The type of the event. viewIdstring The UUID for the view on which the event was fired. jsonPayloadstring <nullable> The payload for the event as stringified JSON. Details