jquery-notify icon indicating copy to clipboard operation
jquery-notify copied to clipboard

added support for on hover notifications

Open reiern70 opened this issue 12 years ago • 0 comments

Hi,

For a use case we needed notifications to be closed on user hovering the mouse over the notification. So I have introduced new callback functions on settings

over: function (e. instance) {...} out: function (e. instance) {...}

that will be called when mouse is over the notification and and juts lived notification.

By default if hoverIntent.js is present (and loaded before notify.js) then hover intent will be used. If not present then default jquery hover will be used. If present but you still want to use jquery hover you can pass parameter {useHoverIntent: false}.

I have modified the sample app to show these options.

reiern70 avatar Oct 29 '12 14:10 reiern70