MToolButtonWidgetUtilities

Methods

(static) getMToolButtonWidgetText(role) → {string}

Description:
  • Get role push button widget text from the given role.

Parameters:
Name Type Description
role string

String enum value from MToolButtonWidgetRole class.

Returns:

Text.

Type
string

(static) getMToolButtonWidgetCSSClassName(role) → {string}

Description:
  • Get CSS class name for given role.

Parameters:
Name Type Description
role string

String enum value from MToolButtonWidgetRole class.

Returns:

CSS class name.

Type
string