HexagonJS
Notify Changelog
2.7.1
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.7.0
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.5.3
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.5.2
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.5.1
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.5.0
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.4.0
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.3.1
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.3.0
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.2.0
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.1.0
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.0.3
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.0.2
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.0.1
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
2.0.0
hx.notify.defaultTimeoutNumber
Deprecated
Replaced by hx.notifyDefaultTimeout
hx.notifyDefaultTimeoutNumber
Added
Replaced by hx.notifyDefaultTimeout
hx.notify.loadingNotification
Deprecated
Replaced by hx.notifyLoading
hx.notify.infoNotification
Deprecated
Replaced by hx.notifyInfo
hx.notify.warningNotification
Deprecated
Replaced by hx.notifyWarning
hx.notify.negativeNotification
Deprecated
Replaced by hx.notifyNegative
hx.notify.positiveNotification
Deprecated
Replaced by hx.notifyPositive
hx.notifyLoadingNotification
Added
Shows a loading notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's loading method.
hx.notifyInfoNotification
Added
Shows an information notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's info method.
hx.notifyWarningNotification
Added
Shows a warning notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's warning method.
hx.notifyNegativeNotification
Added
Shows a negative notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's negative method.
hx.notifyPositiveNotification
Added
Shows a positive notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's positive method.
1.8.1
Bugfix
Fix an issue with the notifications that broke the string-based functionality
1.8.0
Info
#299
Updated the notification functions and methods so that the message can be an HTMLElement, Selection or an Object and added a renderer to the notification options for rendering Object messages.
The notifications will behave as they did previously with strings but now accept additional types for the message.
hx.NotificationManager
loadingNotification
Removed
#299
hx.NotificationManager
notify
Removed
#299
hx.NotificationManager
infoNotification
Removed
#299
hx.NotificationManager
warningNotification
Removed
#299
hx.NotificationManager
negativeNotification
Removed
#299
hx.NotificationManager
positiveNotification
Removed
#299
hx.NotificationManager
notifyNotification
Added
#299
Shows a notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's notify method.
hx.NotificationManager
loadingNotification
Added
#299
Shows a loading notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's loading method.
hx.NotificationManager
infoNotification
Added
#299
Shows an information notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's info method.
hx.NotificationManager
warningNotification
Added
#299
Shows a warning notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's warning method.
hx.NotificationManager
negativeNotification
Added
#299
Shows a negative notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's negative method.
hx.NotificationManager
positiveNotification
Added
#299
Shows a positive notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's positive method.
hx.notifyNotification
Removed
#299
hx.notify.infoNotification
Removed
#299
hx.notify.loadingNotification
Removed
#299
hx.notify.warningNotification
Removed
#299
hx.notify.negativeNotification
Removed
#299
hx.notify.positiveNotification
Removed
#299
hx.notifyNotification
Added
#299
Shows a notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's notify method.
hx.notify.loadingNotification
Added
#299
Shows a loading notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's loading method.
hx.notify.infoNotification
Added
#299
Shows an information notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's info method.
hx.notify.warningNotification
Added
#299
Shows a warning notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's warning method.
hx.notify.negativeNotification
Added
#299
Shows a negative notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's negative method.
hx.notify.positiveNotification
Added
#299
Shows a positive notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's positive method.
1.5.1
Bugfix
#280
Fixed the flex styles for notifications
1.1.0
Updated
#69
Updated the styles so that notifications show on top of modals when they are on screen without looking like they're floating in a strange manner.
0.15.2
hx.NotificationManager
Bugfix
Updated so that the notification containers have unique ID's so they don't cause the inbuilt notifications to display inside custom notification mangers
0.14.1
Bugfix
Fixed a style issue where long messages changed the layout of a notification
0.14.0
hx.NotificationManager
temporaryNotification
Removed
Use hx.notify(message, options) instead.
hx.NotificationManager
permanentNotification
Removed
Use hx.notify(message, options) instead, setting options.timeout as undefined
hx.NotificationManager
infoNotification
Removed
Use hx.notify.info(message, options) instead.
hx.NotificationManager
warningNotification
Removed
Use hx.notify.warning(message, options) instead.
hx.NotificationManager
negativeNotification
Removed
Use hx.notify.negative(message, options) instead.
hx.NotificationManager
positiveNotification
Removed
Use hx.notify.positive(message, options) instead.
hx.notifyNotificationManager
Removed
The inbuild notification manager functions are accessible under the hx.notify object, e.g. hx.notify(message, options) or hx.notify.info(message, options) etc.
0.13.0
hx.NotificationManager
Updated
The inbuild notification manager functions are accessible under the hx.notify object, e.g. hx.notify(message, options) or hx.notify.info(message, options) etc.
hx.NotificationManager
temporaryNotification
Deprecated
Use hx.notify(message, options) instead.
hx.NotificationManager
permanentNotification
Deprecated
Use hx.notify(message, options) instead, setting options.timeout as undefined
hx.NotificationManager
infoNotification
Deprecated
Use hx.notify.info(message, options) instead.
hx.NotificationManager
warningNotification
Deprecated
Use hx.notify.warning(message, options) instead.
hx.NotificationManager
negativeNotification
Deprecated
Use hx.notify.negative(message, options) instead.
hx.NotificationManager
positiveNotification
Deprecated
Use hx.notify.positive(message, options) instead.
hx.NotificationManager
notify
Added
A method for showing a notification for a notification manager.
hx.NotificationManager
infoNotification
Added
Shows an information notification and returns a Notification object.
hx.NotificationManager
warningNotification
Added
Shows a warning notification and returns a Notification object.
hx.NotificationManager
negativeNotification
Added
Shows an negative notification and returns a Notification object.
hx.NotificationManager
positiveNotification
Added
Shows an positive notification and returns a Notification object.
hx.NotificationManager
defaultTimeoutNumber
Added
A method for getting or setting the default timeout for notifications added to the current notification manager.
hx.notifyNotificationManager
Deprecated
The inbuild notification manager functions are accessible under the hx.notify object, e.g. hx.notify(message, options) or hx.notify.info(message, options) etc.
hx.notifyNotification
Added
Shows a notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's notify method.
hx.notify.infoNotification
Added
Shows an information notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's info method.
hx.notify.loadingNotification
Added
Shows a loading notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's loading method.
hx.notify.warningNotification
Added
Shows a warning notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's warning method.
hx.notify.negativeNotification
Added
Shows a negative notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's negative method.
hx.notify.positiveNotification
Added
Shows a positive notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's positive method.
0.12.0
hx.getNotificationManagerNotificationManager
Removed
hx.notify.setDefaultTimeout
Removed
hx.getNotificationManager.setDefaultTimeout
Removed
0.11.0
hx.NotificationManager
errorNotification
Removed
hx.getNotificationManagerNotificationManager
Deprecated
Use hx.notify() instead.
hx.notify.setDefaultTimeout
Deprecated
Use hx.notify.defaultTimeout(timeout) instead.
hx.getNotificationManager.setDefaultTimeout
Deprecated
Use hx.notify.defaultTimeout(timeout) instead.
hx.notify.defaultTimeoutNumber
Added
A function for getting or setting the default time out for notifications.
0.10.0
hx.notify.setDefaultTimeout
Added
A function for changing the default time out for notifications
hx.getNotificationManager.setDefaultTimeout
Added
A function for changing the default time out for notifications
hx.NotificationManager
errorNotification
Deprecated
Use NotificationManager.negative instead.
0.9.0
hx.NotificationManager
infoNotification
Removed
The icon now automatically gets set for info notifications. If you wish to customise the icon use NotificationManager.permanent or NotificationManager.temporary .
hx.NotificationManager
infoNotification
Added
Shows an information notification and returns a Notification object. This is a temporary notification that will dismiss itself after some time (5 seconds by default). There is the option to supply an icon to display in the top left of the notification. This notification type has the styling predefined for it in the hx-notification-info css class, and uses a predefined icon.
hx.NotificationManager
errorNotification
Deprecated
Use NotificationManager.negative instead.
hx.NotificationManager
negativeNotification
Added
Shows an negative notification and returns a Notification object. This is a temporary notification, and so will dismiss itself after some time (5 seconds by default). This notification type has the styling predefined for it in the hx-notification-negative css class, and uses a predefined icon.
hx.NotificationManager
positiveNotification
Added
Shows an positive notification and returns a Notification object. This is a temporary notification, and so will dismiss itself after some time (5 seconds by default). This notification type has the styling predefined for it in the hx-notification-positive css class, and uses a predefined icon.
Notification
pinNotification
Added
Makes the notification stick around until it is unpinned.
Notification
unpinNotification
Added
Unpins a notification - causing it to disappear shortly after.
hx-notification
hx-positive
Added
The class to add to style the notification with the theme's positive color.
hx-notification
hx-negative
Added
The class to add to style the notification with the theme's negative color.
hx-notification
hx-warning
Added
The class to add to style the notification with the theme's warning color.
hx-notification
hx-info
Added
The class to add to style the notification with the theme's info color.
hx-notification
hx-loading
Added
The class to add to style the notification with the theme's loading color.