Imui
Components
AlertProps & MethodsTypesLinksVisibleCloseableonCloseAlignButtonCheckboxCheckbox GroupConfirmDatepickerDialogDropdownFormIconInputMenuMessageMonthpickerPagePickerPopconfirmRadioStatusboxTabTableUploadValidator
Home introReadmeRelease

Alert

Props & Methods

style
object
className
string
children
any
type
'success' │ 'info' │ 'warning' │ 'danger' │ 'global' │ 'module'
'warning'
visible
bool
true
closeable
bool
true
onClose
func

Types

Well done! You successfully read this important alert message.
Heads up! This alert needs your attention, but it's not super important.
Warning! Better check yourself, you're not looking too good.
Oh snap! Change a few things up and try submitting again.
Gobal alert: appears at the top of all the web page.
Module alert: this is an alert inside the module
This is a sucess alert with an example link. Give it a click if you like.
This is an info alert with an example link. Give it a click if you like.
This is a warning alert with an example link. Give it a click if you like.
This is a danger alert with an example link. Give it a click if you like.
This is a global alert with an example link. Give it a click if you like.
This is a module alert with an example link. Give it a click if you like.

Visible

I shall sit down on the pavement when I'm tired And gobble up samples in shops and press alarm bells And run my stick along the public railings And make up for the sobriety of my youth.

Closeable

This is a warning alert that you cannot close.
This is a warning alert that you can close. Give it a try.

onClose

You can wear terrible shirts and grow more fat And eat three pounds of sausages at a go Or only bread and pickle for a week And hoard pens and pencils and beermats and things in boxes. But now we must have clothes that keep us dry And pay our rent and not swear in the street And set a good example for the children. We must have friends to dinner and read the papers. But maybe I ought to practice a little now? So people who know me are not too shocked and surprised When suddenly I am old, and start to wear purple.