Trilium Frontend API
    Preparing search index...

    Interface FocusableToolbarOptions

    interface FocusableToolbarOptions {
        afterBlur?: () => void;
        beforeFocus?: () => void;
        isContextual?: boolean;
    }
    Index

    Properties

    afterBlur?: () => void

    Specify a callback executed after the toolbar instance DOM element loses focus upon Esc keystroke but before the focus goes back to the ~EditorUI#setEditableElement editable element.

    beforeFocus?: () => void

    Specify a callback executed before the toolbar instance DOM element gains focus upon the Alt + F10 keystroke.

    isContextual?: boolean

    Set true if the toolbar is attached to the content of the editor. Such toolbar takes a precedence over other toolbars when a user pressed Alt + F10.