iink-ts - v5.0.0
    Preparing search index...

    Type Alias TMenuItemOptions

    type TMenuItemOptions = {
        after?: string;
        before?: string;
        replace?: boolean;
        zone?: TMenuZone;
    }
    Index
    after?: string

    Key of the item to insert after; missing at render, the item goes to the end of its zone

    before?: string

    Key of the item to insert before; missing at render, the item goes to the end of its zone

    replace?: boolean

    Replace the item holding the same key, in its place; without it, a taken key is refused

    zone?: TMenuZone

    Defaults to the menu's IIAbstractMenu.defaultZone