devextreme
Version:
HTML5 JavaScript Component Suite for Responsive Web Development
25 lines (24 loc) • 719 B
JavaScript
/**
* DevExtreme (ui/scheduler/ui.scheduler.publisher_mixin.js)
* Version: 18.2.18
* Build date: Tue Oct 18 2022
*
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
;
var publisherMixin = {
notifyObserver: function(subject, args) {
var observer = this.option("observer");
if (observer) {
observer.fire(subject, args)
}
},
invoke: function() {
var observer = this.option("observer");
if (observer) {
return observer.fire.apply(observer, arguments)
}
}
};
module.exports = publisherMixin;