x4js - v2.2.49
    Preparing search index...

    Interface MenuProps

    interface MenuProps {
        attrs?: Record<string, string | number | boolean>;
        autoClose?: string | boolean;
        cls?: string;
        disabled?: boolean;
        dom_events?: GlobalDOMEvents;
        existingDOM?: HTMLElement;
        flex?: number | boolean;
        height?: string | number;
        hidden?: boolean;
        id?: string;
        items: MenuElement[];
        movable?: boolean;
        ns?: string;
        ref?: RefType<any>;
        sizable?: boolean;
        style?: Partial<CSSStyleDeclaration>;
        tag?: string;
        tooltip?: string;
        width?: string | number;
    }

    Hierarchy

    Index
    attrs?: Record<string, string | number | boolean>

    HTML attributes.

    autoClose?: string | boolean
    cls?: string

    Additional CSS classes.

    disabled?: boolean

    Component is initialy disabled.

    dom_events?: GlobalDOMEvents

    DOM event listeners.

    existingDOM?: HTMLElement

    Existing DOM element to wrap.

    flex?: number | boolean

    Enables flex layout (boolean) or sets flex-grow (number).

    height?: string | number

    Height (px or string like "50%").

    hidden?: boolean

    Component is initialy hidden.

    id?: string

    Element ID.

    items: MenuElement[]
    movable?: boolean
    ns?: string

    Namespace for SVG/MathML elements.

    ref?: RefType<any>

    Reference to the component instance.

    sizable?: boolean
    style?: Partial<CSSStyleDeclaration>

    Inline CSS styles.

    tag?: string

    HTML tag name (default: "div").

    tooltip?: string

    Tooltip text.

    width?: string | number

    Width (px or string like "50%" or "3em").