Menu: {
    action?: Function;
    buttons?: MenuPageButton[];
    children?: Menu[];
    i18n?: {
        [key: string]: MenuCultureData;
    };
    id: string;
    image?: Models.Assets.Image;
    link?: string;
    linkTargetBlank?: boolean;
    markerId?: string;
}

A custom pop-out menu containing content pages or direct external links to websites, or direct links to opening a marker. This is created in the Micrio editor.

Type declaration

  • Optional action?: Function

    Optional direct action function when clicked

  • Optional buttons?: MenuPageButton[]

    Custom page action buttons

  • Optional children?: Menu[]

    Child menu elements

  • Optional i18n?: {
        [key: string]: MenuCultureData;
    }

    Localized culture data

  • id: string

    The menu ID

  • Optional image?: Models.Assets.Image

    For page: page image

  • Optional link?: string

    Direct link url for menu button

  • Optional linkTargetBlank?: boolean

    Opens the link in a new window

  • Optional markerId?: string

    Open this marker when clicking menu