new vcs.ui.notifications.Notifier(options)
| Name | Type | Description |
|---|---|---|
options |
vcs.ui.notifications.Notifier.Options |
Members
-
maxLength{number}
-
the number of notification to keep in the log
-
notifications{Array.<vcs.ui.notifications.Notification>}
-
The notification log, newest first.
-
timeout{number}
-
the number of milliseconds to keep a notification in the log
Methods
-
error(message, action){number}
-
Name Type Description messagestring actionNotificationAction Returns:
- the notifications id
-
info(message, action){number}
-
Name Type Description messagestring actionNotificationAction Returns:
- the notifications id
-
success(message, action){number}
-
Name Type Description messagestring actionNotificationAction Returns:
- the notifications id
Type Definitions
-
vcs.ui.notifications.Notifier.Options{Object}
-
Properties:
Name Type Argument Default Description maxLengthnumber <optional>
3 the number of notification to keep in the log
timeoutnumber <optional>
10000 the number of milliseconds to keep a notification in the log
virtualcityMAP 3.6