action_executors.js 526 B

12345678910111213141516171819
  1. /**
  2. * DevExtreme (integration/angular/action_executors.js)
  3. * Version: 19.1.16
  4. * Build date: Tue Oct 18 2022
  5. *
  6. * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
  7. * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
  8. */
  9. "use strict";
  10. var Action = require("../../core/action");
  11. Action.registerExecutor({
  12. ngExpression: {
  13. execute: function(e) {
  14. if ("string" === typeof e.action) {
  15. e.context.$eval(e.action)
  16. }
  17. }
  18. }
  19. });