Trilium Frontend API
    Preparing search index...

    Interface ItemPickerDialogOptions

    interface ItemPickerDialogOptions {
        callback?: (item: PickerItem) => void;
        items: PickerItem[] | PickerItemGroup[];
        placeholder?: string;
        title?: string;
    }
    Index
    callback?: (item: PickerItem) => void

    Called with the item picked, or with null when the dialog was dismissed.

    What can be picked: either items or groups of them, never mixed. Used as given, so the caller assembles them before opening the dialog.

    placeholder?: string

    Placeholder for the search field.

    title?: string