FocusableToolbarDefinition
interface
A definition of a focusable toolbar. Used by addToolbar
.
Properties
-
module:ui/editorui/editorui~FocusableToolbarDefinition#options
Options of a focusable toolbar view:
isContextual
: Marks the higher priority toolbar. For example when there are 2 visible toolbars, it allows to distinguish which toolbar should be focused first after thealt+f10
keystrokebeforeFocus
: A callback executed before theToolbarView
gains focus upon theAlt+F10
keystroke.afterBlur
: A callback executed afterToolbarView
loses focus uponEsc
keystroke but before the focus goes back to theorigin
.
-
module:ui/editorui/editorui~FocusableToolbarDefinition#toolbarView
An instance of a focusable toolbar view.