Flarum (v2.0.0)
    Preparing search index...
    interface IDeckPickerModalAttrs {
        browse?: boolean;
        isAdded?: (model: Model) => boolean;
        onpick: (model: Model) => void;
        title: Children;
    }

    Hierarchy (View Summary)

    Index

    Properties

    browse?: boolean

    List every result before anything is typed, for short lists such as tags.

    isAdded?: (model: Model) => boolean

    Marks results the deck already has a column for. They can still be chosen.

    onpick: (model: Model) => void

    Called with the chosen result's model, after which the picker closes.

    title: Children