You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example: I load the page, and get a notification on "/page1" but I barely see it since I get on page "/page2" shortly after.
Usecase: on my website, I have pushed (comet) events that the user should not miss...
Workflow:
On "/page1": A notify instance is created: it stores a object consisting of its properties and its creation timestamp.
On "/page2": when document is ready, a method retrieves all stored objects and init them.
Before beeing reinitialised, the fadeOut.delay is adjusted :
fadeOut.delay - (now_timestamp - creation_timestamp)
When the notification is shown, localStorage is purged.
This would result in a new plugin option (boolean) "persistence" and a new public method $.notify.resume();
I'm thinking of adding this feature as an addon plugin or not, any comments ?
The text was updated successfully, but these errors were encountered:
Example: I load the page, and get a notification on "/page1" but I barely see it since I get on page "/page2" shortly after.
Usecase: on my website, I have pushed (comet) events that the user should not miss...
Workflow:
Before beeing reinitialised, the fadeOut.delay is adjusted :
fadeOut.delay - (now_timestamp - creation_timestamp)
This would result in a new plugin option (boolean) "persistence" and a new public method $.notify.resume();
I'm thinking of adding this feature as an addon plugin or not, any comments ?
The text was updated successfully, but these errors were encountered: