Interface for ToolbarButtonComponent props.

interface IProps {
    "aria-controls"?: string;
    "aria-expanded"?: Booleanish;
    "aria-haspopup"?:
        | boolean
        | "false"
        | "true"
        | "grid"
        | "dialog"
        | "menu"
        | "listbox"
        | "tree";
    className?: string;
    dataset?: DOMStringMap;
    disabledTooltip?: string;
    enabled?: boolean;
    icon?: IMaybeResolvable;
    iconClass?: string;
    iconLabel?: string;
    label?: string;
    noFocusOnClick?: boolean;
    onClick?: (event?: SyntheticEvent<Element, Event>) => void;
    pressed?: boolean;
    pressedIcon?: IMaybeResolvable;
    pressedTooltip?: string;
    tooltip?: string;
    translator?: ITranslator;
}

Hierarchy

  • ToolbarAriaMenuButtonProps
    • IProps

Properties

"aria-controls"?: string

Identifies the element (or elements) whose contents or presence are controlled by the current element.

aria-owns.

"aria-expanded"?: Booleanish

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.

"aria-haspopup"?:
    | boolean
    | "false"
    | "true"
    | "grid"
    | "dialog"
    | "menu"
    | "listbox"
    | "tree"

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

className?: string
dataset?: DOMStringMap

Data set of the button

disabledTooltip?: string
enabled?: boolean
iconClass?: string
iconLabel?: string
label?: string
noFocusOnClick?: boolean

Trigger the button on onMouseDown event rather than onClick, to avoid giving the focus on the button.

onClick?: (event?: SyntheticEvent<Element, Event>) => void
pressed?: boolean
pressedIcon?: IMaybeResolvable
pressedTooltip?: string
tooltip?: string
translator?: ITranslator

The application language translator.