Trilium Frontend API
    Preparing search index...

    Interface MenuObject<T>

    interface MenuObject<
        T extends
            RowComponent
            | CellComponent
            | ColumnComponent
            | GroupComponent,
    > {
        action?: (e: any, component: T) => any;
        disabled?: boolean | ((component: T) => boolean);
        label: string | HTMLElement | ((component: T) => string | HTMLElement);
        menu?: MenuObject<T>[];
    }

    Type Parameters

    Index

    Properties

    action?: (e: any, component: T) => any
    disabled?: boolean | ((component: T) => boolean)
    label: string | HTMLElement | ((component: T) => string | HTMLElement)
    menu?: MenuObject<T>[]