<ui-alert>

Inline status message.

Feedback · stable · since 2.0.0 · extends _UIElement

Examples

<ui-alert variant="warning" heading="Attention">Check your input.</ui-alert>
<ui-alert variant="success">Saved.</ui-alert>

Playground

Generated HTML

Event log

    API

    Attributes and properties

    PropertyAttributeTypeDefaultDescription
    disableddisabledbooleanfalse
    busydata-ui-busybooleanfalse
    variantvariantstring"info"info, success, warning or danger.
    headingheadingstring""Alert title.

    Methods

    None.

    Events

    None.

    Slots

    CSS classes