123456789101112131415161718192021222324252627282930313233343536373839 |
- 'use strict';
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
- /*
- *+------------------------------------------------------------------------+
- *| Licensed Materials - Property of IBM
- *| IBM Cognos Products: Content Explorer
- *| (C) Copyright IBM Corp. 2019
- *|
- *| US Government Users Restricted Rights - Use, duplication or disclosure
- *| restricted by GSA ADP Schedule Contract with IBM Corp.
- *+------------------------------------------------------------------------+
- */
- define(['jquery', '../../../../../lib/@waca/dashboard-common/dist/core/APIFactory', '../CoachMarkAPI', '../../../../../lib/@waca/baglass/js/baglass/utils/Utils'], function ($, APIFactory, CoachMarkAPI, GlassUtils) {
- var CoachMark = function () {
- function CoachMark() {
- _classCallCheck(this, CoachMark);
- }
- CoachMark.prototype.getAPI = function getAPI() {
- return APIFactory.createAPI(this, [CoachMarkAPI]);
- };
- CoachMark.prototype.addCoachMark = function addCoachMark(options) {
- var coachMarksOptions = _extends({
- $el: $(options.domElement)
- }, options);
- return GlassUtils.addCoachmark(coachMarksOptions);
- };
- return CoachMark;
- }();
- return CoachMark;
- });
- //# sourceMappingURL=CoachMark.js.map
|