AlignAPI.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. "use strict";
  2. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  3. /**
  4. * Licensed Materials - Property of IBM
  5. * IBM Business Analytics (C) Copyright IBM Corp. 2018, 2019
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. /**
  9. * @class AlignAPI
  10. * @hideconstructor
  11. * @classdesc API class that is used to apply the align action.
  12. */
  13. define([], function () {
  14. var AlignAPI = function () {
  15. function AlignAPI() {
  16. _classCallCheck(this, AlignAPI);
  17. }
  18. /**
  19. * @function AlignAPI#applyAction
  20. * @description Apply alignment action.
  21. * @param {Object[]} selection The selected icon object from align property dialog
  22. *
  23. * @example
  24. * [{
  25. * layoutIds: ['model0000016a0890313c_00000000', 'model0000016a089069b7_00000000']
  26. * name: 'right',
  27. * value: 'align-object-right_16'
  28. * }]
  29. */
  30. AlignAPI.prototype.applyAction = function applyAction() {};
  31. return AlignAPI;
  32. }();
  33. return AlignAPI;
  34. });
  35. //# sourceMappingURL=AlignAPI.js.map