v1.2.0
Minor release
Now whenever you'll call the emit
method, it will return back the instance on the Context
attached to the emitted Alert
.
You can subscribe for onOpening
, onOpened
, onClosing
and onClose
events and programmatically call methods open
, reject
and resolve
on it.
You can also await
it just like a normal Promise
and it will return the alert result.