ENotification Notification
Examples
Notification
Properties
animationDurationintAnimation or display duration in milliseconds; the component binding identifies its use.
300appendToItemObject to which the overlay is attached.
nullbackgroundColorcolorBackground color.
Dynamic bindingborderColorcolorBorder color.
Dynamic bindingcallbacksvarAction callbacks keyed by message identifier and maintained by message lifecycle.
({})clearingboolState indicating that the message manager is clearing all messages.
falsecloseIconintIcon used by the component.
EIcons.*
0 (no icon)
EIcons.XMARKcloseOnClickboolClose the message or notification on click.
falsedangerouslyUseHTMLStringboolInterpret content as rich text; enable only for trusted content.
falsedurationintDelay before automatic message closing, in milliseconds.
0: no automatic closing
Positive number: delay in milliseconds
4500edgeMarginrealNotification margin from the window side in pixels.
16enabledboolAllow interaction; false disables the control.
truegroupingboolGroup messages or notifications with identical content.
falseheightrealComponent size in pixels; may be bound to its parent layout.
implicitHeighticonColorcolorIcon color.
Dynamic bindingiconSourceintIcon used by the component.
EIcons.*
0 (no icon)
0maximumWidthrealNotification width bounds in pixels.
480messagestringDefault option object for the corresponding component; descendants inherit from the nearest provider.
""minimumWidthrealNotification width bounds in pixels.
280offsetrealOffset relative to layout, scroll target or popup reference, in pixels.
10pauseOnHoverboolPause auto-advance or the close timer while hovered.
truependingRemovalKeysvarMessage keys awaiting removal after exit animations.
[]placementintDisplay position of the message in the window.
EPlacement.TopLeftEPlacement.TopEPlacement.TopRightEPlacement.LeftEPlacement.CenterEPlacement.RightEPlacement.BottomLeftEPlacement.BottomEPlacement.BottomRight
EPlacement.TopRightprogressvarEnable or configure the automatic closing countdown progress bar.
true / false, or object:
striped, stripedFlow
status, format, color
showText, textInside
strokeWidth
falseshowCloseboolShow a close or remove button.
trueshowIconboolShow a semantic status icon.
truestyleTypeintSemantic color style.
EStyle.DefaultEStyle.PrimaryEStyle.SuccessEStyle.InfoEStyle.WarningEStyle.Danger
EStyle.PrimarytextColorcolorText color.
Dynamic bindingtitlestringTitle text.
""titleColorcolorTitle color.
Dynamic bindingtypeintSemantic message style; Default uses styleType.
EStyle.DefaultEStyle.PrimaryEStyle.SuccessEStyle.InfoEStyle.WarningEStyle.Danger
EStyle.DefaultvisibleboolWhether the component is visible.
truewidthrealComponent size in pixels; may be bound to its parent layout.
implicitWidthwidthHintrealPreferred notification width in pixels.
360countintRead onlySkeleton instance count or current item count, depending on the component.
Computed at runtimeSignals
closed(string key)Emitted when a notification closes; key identifies the notification.
opened(string key)Emitted when a notification opens; key identifies the notification.
clicked(string key)Emitted when a notification is clicked; key identifies the notification.
Methods
closeAll()Close all displayed messages, notifications, or service dialogs.
clear()Clear the current contents or selection.
close(key)Close the notification identified by key.
open(messageValue)Show a notification using text or options in messageValue; return its identifier.