FullScreenAPI.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. define([], function () {
  9. /**
  10. * @interface
  11. * @hideconstructor
  12. * @classdesc Interface for the FullScreen feature
  13. */
  14. var FullScreenAPI = function () {
  15. function FullScreenAPI() {
  16. _classCallCheck(this, FullScreenAPI);
  17. }
  18. /**
  19. * @function FullScreenAPI#enter
  20. * @description enter the full-screen mode
  21. */
  22. FullScreenAPI.prototype.enter = function enter() {};
  23. /**
  24. * @function FullScreenAPI#exit
  25. * @description exit the full-screen mode
  26. */
  27. FullScreenAPI.prototype.exit = function exit() {};
  28. /**
  29. * @function FullScreenAPI#isFullScreen
  30. * @description tell if is in the full-screen mode
  31. * @returns {boolean} true if is in the full-screen mode, false otherwise
  32. */
  33. FullScreenAPI.prototype.isFullScreen = function isFullScreen() {};
  34. return FullScreenAPI;
  35. }();
  36. return FullScreenAPI;
  37. });
  38. //# sourceMappingURL=FullScreenAPI.js.map