12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- 'use strict';
- /**
- * Licensed Materials - Property of IBM
- *
- * IBM Cognos Products: Dashboard
- *
- * Copyright IBM Corp. 2015, 2019
- *
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- define(['../../lib/@waca/core-client/js/core-client/ui/core/View', 'underscore'], function (View, _) {
- var BaseTab = View.extend({
- //Class fields
- properties: null,
- init: function init(options) {
- BaseTab.inherited('init', this, arguments);
- _.extend(this, options);
- },
- render: function render() {
- return Promise.resolve();
- },
- show: function show() {
- if (!this.isShowing) {
- this.isShowing = true;
- this.properties.$category = this.$el;
- this.properties._renderCategory(this.id);
- }
- },
- hide: function hide() {
- this.isShowing = false;
- }
- });
- return BaseTab;
- });
- //# sourceMappingURL=Tab.js.map
|