# FocusableToolbarDefinition

interface

A definition of a focusable toolbar. Used by [`addToolbar`](module_ui_editorui_editorui-EditorUI.md#function-addToolbar).

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-ui/src/editorui/editorui.ts#L775)

<a id="properties">

## Properties

<a id="member-options">

### `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`.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-ui/src/editorui/editorui.ts#L791)

<a id="member-toolbarView">

### `toolbarView: ToolbarView`

An instance of a focusable toolbar view.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-ui/src/editorui/editorui.ts#L780)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
