An object which holds the data to render a menu bar item.

interface IRenderData {
    active: boolean;
    disabled?: boolean;
    onfocus?: ((event) => void);
    tabbable: boolean;
    title: Title<Widget>;
}

Properties

active: boolean

Whether the item is the active item.

disabled?: boolean

Whether the item is disabled.

Notes

A disabled item cannot be active. A disabled item cannot be focussed.

onfocus?: ((event) => void)

Type declaration

    • (event): void
    • Parameters

      Returns void

tabbable: boolean

Whether the user can tab to the item.

title: Title<Widget>

The title to be rendered.