@mendix/extensions-api - v0.9.0
    Preparing search index...

    Interface MenuItem

    An element is part of a Mendix model and all elements together form the logic of the model. Elements may contain other elements. An element always has a container element, which is its parent. The root of an element tree is always a unit.

    interface MenuItem {
        $CreationOptions?: unknown;
        $ID: string;
        $Type: "Menus$MenuItem";
        $UnitID?: string;
        action: ClientAction;
        alternativeText: null | Text;
        caption: Text;
        icon: null | Icon;
        items: MenuItem[];
        delete(): void;
        getContainer(): MenuItemContainer;
    }

    Hierarchy (View Summary)

    Index

    Properties

    $CreationOptions?: unknown

    Options to pass during the element creation

    $ID: string

    The unique id of the element.

    $Type: "Menus$MenuItem"

    The type of the element.

    $UnitID?: string
    action: ClientAction
    alternativeText: null | Text
    caption: Text
    icon: null | Icon
    items: MenuItem[]

    Methods

    • Returns void