Flarum (v2.0.0-beta.4)
    Preparing search index...
    interface AlertAttrs {
        containerClassName?: string;
        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

    containerClassName?: string

    A class to assign to the container element

    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}.