devextreme
Version:
HTML5 JavaScript Component Suite for Responsive Web Development
22 lines (21 loc) • 616 B
JavaScript
/**
* DevExtreme (esm/integration/angular/action_executors.js)
* Version: 21.1.4
* Build date: Mon Jun 21 2021
*
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
import Action from "../../core/action";
import angular from "angular";
if (angular) {
Action.registerExecutor({
ngExpression: {
execute: function(e) {
if ("string" === typeof e.action) {
e.context.$eval(e.action)
}
}
}
})
}