Interface NotebookCellToolbarItem

interface NotebookCellToolbarItem {
    contextKeys?: Set<string>;
    icon?: string;
    id: string;
    isVisible: (() => boolean);
    label?: string;
    onClick: ((e) => void);
}

Properties

contextKeys?: Set<string>
icon?: string
id: string
isVisible: (() => boolean)

Type declaration

    • (): boolean
    • Returns boolean

label?: string
onClick: ((e) => void)

Type declaration

    • (e): void
    • Parameters

      • e: MouseEvent<Element, MouseEvent>

      Returns void