Flarum (v1.8.10)
    Preparing search index...
    interface AlertAttrs {
        controls?: Children;
        dismissible?: boolean;
        icon?: string;
        ondismiss?: Function;
        title?: Children;
        type?: string;
        [property: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [property: string]: any

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

    Index

    Properties

    controls?: Children

    An array of controls to show in the alert.

    dismissible?: boolean

    Whether or not the alert can be dismissed.

    icon?: string

    Icon used next to the title. Optional.

    ondismiss?: Function

    A callback to run when the alert is dismissed

    title?: Children

    Title of the alert. Optional.

    type?: string

    The type of alert this is. Will be used to give the alert a class name of Alert--{type}.