EAlert Alert
Examples
Alert
Properties
centerboolCenter the layout or text.
falseclosableboolShow a close or remove button.
truecloseTextstringCustom close button text.
""descriptionstringDescription text.
""descriptionComponentComponentComponent slot for custom description; null uses the default content. See this page’s examples for delegate context.
nulleffectstringVisual theme of the component.
light
dark
"light"enabledboolAllow interaction; false disables the control.
trueheightrealComponent size in pixels; may be bound to its parent layout.
implicitHeighticonComponentComponentComponent slot for custom icon; null uses the default content. See this page’s examples for delegate context.
nulliconSourceintIcon used by the component.
EIcons.*
0 (no icon)
0showIconboolShow a semantic status icon.
truestyleTypeintSemantic color style.
EStyle.DefaultEStyle.PrimaryEStyle.SuccessEStyle.InfoEStyle.WarningEStyle.Danger
EStyle.InfotitlestringTitle text.
""titleComponentComponentComponent slot for custom title; null uses the default content. See this page’s examples for delegate context.
nullvisibleboolWhether the component is visible.
truewidthrealComponent size in pixels; may be bound to its parent layout.
implicitWidthaccentColorcolorRead onlyResolved color from the theme, current state and custom palette.
Computed at runtimedarkEffectboolRead onlyWhether the visual effect is dark.
Computed at runtimeSignals
closed()Emitted after the component closes.