ContentViewDomAPI.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. 2019
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. /**
  9. * @class ContentViewDomAPI
  10. * @hideconstructor
  11. * @classdesc API class that is used to access the content view dom
  12. */
  13. define([], function () {
  14. var ContentViewDomAPI = function () {
  15. function ContentViewDomAPI() {
  16. _classCallCheck(this, ContentViewDomAPI);
  17. }
  18. /**
  19. * @function ContentViewDomAPI#cloneNode
  20. * @description Clone and return the dom node used by the view
  21. * @return {Node} dom node
  22. */
  23. ContentViewDomAPI.prototype.cloneNode = function cloneNode() {};
  24. /**
  25. * @function ContentViewDomAPI#getNode
  26. * @description Return the dom node used by the view
  27. * @return {Node} dom node
  28. */
  29. ContentViewDomAPI.prototype.getNode = function getNode() {};
  30. /**
  31. * @function ContentViewDomAPI#getBoundingClientRect
  32. * @description Return the client rectangle of the dom node used by the content view
  33. * @return {Object} clientRect
  34. * @return {Number} clientRect.top
  35. * @return {Number} clientRect.left
  36. * @return {Number} clientRect.bottom
  37. * @return {Number} clientRect.right
  38. * @return {Number} clientRect.height
  39. * @return {Number} clientRect.width
  40. */
  41. ContentViewDomAPI.prototype.getBoundingClientRect = function getBoundingClientRect() {};
  42. return ContentViewDomAPI;
  43. }();
  44. return ContentViewDomAPI;
  45. });
  46. //# sourceMappingURL=ContentViewDomAPI.js.map