|
Name |
Type |
appendContainer
|
string
|
If set, specifies the notification container. The value of appendContainer should be a string with the id of the container element preceeded by "#".
|
autoOpen
|
bool
|
Sets or gets whether the notification will open automatically.
|
animationOpenDelay
|
double
|
Sets or gets the duration of the notification animation at open.
|
animationCloseDelay
|
double
|
Sets or gets the duration of the tooltip animation at close.
|
autoClose
|
bool
|
Sets or gets whether the notification will automatically close after duration equal to the autoCloseDelay property.
|
autoCloseDelay
|
object
|
Sets or gets the duration after which the notification automatically closes (works only if the autoClose property is set to true).
|
blink
|
bool
|
Sets or gets whether the notification blinks when opened.
|
browserBoundsOffset
|
double
|
Sets ot gets the notifications' offset from the window bounds.
|
closeOnClick
|
bool
|
Sets or gets whether the notification will close if it is clicked.
|
disabled
|
bool
|
Sets or gets whether the notification is disabled (it cannot be opened).
|
height
|
object
|
Sets ot gets the notification's height.
|
hoverOpacity
|
double
|
Sets or gets the notification's opacity when it is hovered with the mouse.
|
icon
|
object
|
Sets or gets an object which specifies a custom notification icon. The icon property is disregarded if template is set.
object fields:
width
height
url
padding - specifies the distance from the icon to the content.
|
notificationOffset
|
double
|
Sets or gets the offset between notifications.
|
opacity
|
double
|
Sets or gets the notification's opacity.
|
position
|
object
|
Sets the part of the browser window where the notifications will be positioned. The position property is disregarded if appendContainer is set.
Possible Values:
'top-left'
'top-right'
'bottom-left'
'bottom-right'
|
rtl
|
bool
|
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts.
|
showCloseButton
|
bool
|
Sets or gets whether to show the notification's close button.
|
template
|
object
|
Sets or gets the notification template.
Possible Values:
'info'
'warning'
'success'
'error'
'mail'
'time'
null
If template is set to null, the theme setting is applied to the notification. In that case, the notification icon can be set with the icon property.
|
theme
|
string
|
|
width
|
object
|
Sets ot gets the notification's width.
|
|
onClose
|
Event
|
This event is triggered when the notification is closed.
|
onClick
|
Event
|
This event is triggered when the notification is clicked.
|
onOpen
|
Event
|
This event is triggered when the notification is opened.
|
|
Name |
Arguments |
Return Type |
closeAll
|
()
|
void
|
Closes all notification instances.
|
closeLast
|
()
|
void
|
Closes the last notification instances.
|
destroy
|
()
|
void
|
|
open
|
()
|
void
|
|
refresh
|
()
|
void
|
|
render
|
()
|
void
|
|