Flarum (v2.0.0-beta.5)
    Preparing search index...
    interface IDetailedDropdownItemAttrs {
        active?: boolean;
        description: string;
        icon: string;
        label: string;
        onclick: () => void;
        [property: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [property: string]: any

      Any other virtual element properties, including attributes and event handlers.

    Index

    Properties

    active?: boolean

    Whether the item is the current active/selected option.

    description: string

    The description of the item.

    icon: string

    The name of an icon to show in the dropdown item.

    label: string

    The label of the dropdown item.

    onclick: () => void

    An action to take when the item is clicked.