I finded similar question
But property after_open
doesn't work
I use webpack
and npm
pnotify package with next code:
entry.js
'use strict';
let PNotify = require('pnotify');
PNotify.prototype.options.styling = 'bootstrap3';
(new PNotify({
//...
after_open(ui) {console.log('after_open');},
//...
}));
Notification show, but without after_open
Where is the problem?