Alert
Used to display important prompt information on the page.
Basic usage
The Alert component provides four types, specified by the type attribute, with a default value of info
Customize the close button
The close attribute is used to define whether the close button is displayed, and the closeArea slot is used to customize the content of the close button.
The close event will be triggered when the Alert component is closed.
Text centered
Use the center attribute to center the text horizontally.
Title
Use the title attribute to add a title to the description.
Front fixed content
Use the fixedArea slot to add front fixed content to the description.
Scrollable
By default, scrolling to the left is enabled using the scrollable attribute, and the duration of the scrollbar can also be defined through the duration attribute.