Skip to content
Advertisement

Tag: notifyjs

How to programmatically close notify.js notification?

In the following sample I am trying to close an opened notification forcefully by clicking the button as suggeseted in the notify.js API advanced example, how can this be done? Answer You have to trigger notify-hide event for div which represents notify element. Here is the snippet which shows how looks DOM structure:

Advertisement