[FEAT] - Calls to the methods of Notify, should return something useful
JenieX opened this issue · comments
Is your feature request related to a problem? Please describe.
I always thought that setting the option ID
would create a unique id for that instance, that I can later locate the element that got created.
Describe the solution you'd like
Probably not going to be a good solution to everyone to switch now to full unique ID
s. 😄
Describe alternatives you've considered
const ID = Notify.info(
'Hello',
() => { alert('Goodby'); },
{ ID: 'test' },
);
console.log(ID); // test-1
After further reading on the awesome docs, using className
would solve my issue. But maybe you'll consider this feature if possible at some point.
Thank you.