Skip to main content

Module alert

Module alert 

Source
Expand description

Tablo’s alert: a message set in the page, ruled on its leading edge in its tone. The markup carries data-slot="alert" and data-tone.

Structs§

AlertDescriptionProps
The lines under the title.
AlertDescriptionPropsBuilder
Typestate builder for AlertDescriptionProps, created by AlertDescriptionProps::builder(). build() becomes available once every required property has been set.
AlertProps
The alert. It carries no role="alert", which interrupts a screen reader the moment the element appears: right for a message arriving during the visit, not for one rendered with the page. Pass it among the attrs where that is what you want.
AlertPropsBuilder
Typestate builder for AlertProps, created by AlertProps::builder(). build() becomes available once every required property has been set.
AlertTitleProps
The alert’s first line.
AlertTitlePropsBuilder
Typestate builder for AlertTitleProps, created by AlertTitleProps::builder(). build() becomes available once every required property has been set.
alert
The alert. It carries no role="alert", which interrupts a screen reader the moment the element appears: right for a message arriving during the visit, not for one rendered with the page. Pass it among the attrs where that is what you want.
alert_description
The lines under the title.
alert_title
The alert’s first line.

Enums§

AlertVariant
An alert’s tone.