notify.js icon indicating copy to clipboard operation
notify.js copied to clipboard

ID

Open Armaldio opened this issue 10 years ago • 6 comments
trafficstars

Is there a way to trigger something like "notifyClick" for a specific id ?

Armaldio avatar Dec 02 '14 10:12 Armaldio

Why not just call close on the notification you've created? Why would you want to trigger a click if the user has not done so?

alexgibson avatar Dec 03 '14 01:12 alexgibson

Because i create more than one notification in the same time

Armaldio avatar Dec 03 '14 18:12 Armaldio

You an create a new Notify instance for each notification, but if you want to create multiple notifications from the same instance then this is not currently possible.

alexgibson avatar Dec 03 '14 18:12 alexgibson

how can i identify them ?

i explain me :

A button is used to create a notification. Then an other button close a notification and there is a input where you can enter the tag to be asign to the created notifi but no way to close by this tag

Sorry about theses questions perhaps easy for other but i'm a begginner

Armaldio avatar Dec 03 '14 19:12 Armaldio

You would probably need to write your code to associate each instance with an ID/tag. Alternatively you are welcome to submit a pull request to add functionality.

alexgibson avatar Dec 03 '14 20:12 alexgibson

Ok :) Thank you :)

Armaldio avatar Dec 03 '14 21:12 Armaldio