FocusableToolbarDefinition (ui/editorui)



A definition of a focusable toolbar. Used by addToolbar.



  • options : FocusableToolbarOptions

    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 the alt+f10 keystroke
    • beforeFocus: A callback executed before the ToolbarView gains focus upon the Alt+F10 keystroke.
    • afterBlur: A callback executed after ToolbarView loses focus upon Esc keystroke but before the focus goes back to the origin.
  • toolbarView : ToolbarView

    An instance of a focusable toolbar view.