MCPcopy Create free account
hub / github.com/deepch/RTSPtoWebRTC / Tooltip

Function Tooltip

web/static/js/bootstrap.js:2830–2851  ·  view source on GitHub ↗
(element, config)

Source from the content-addressed store, hash-verified

2828 /*#__PURE__*/
2829 function () {
2830 function Tooltip(element, config) {
2831 /**
2832 * Check for Popper dependency
2833 * Popper - https://popper.js.org
2834 */
2835 if (typeof Popper === 'undefined') {
2836 throw new TypeError('Bootstrap\'s tooltips require Popper.js (https://popper.js.org/)');
2837 } // private
2838
2839
2840 this._isEnabled = true;
2841 this._timeout = 0;
2842 this._hoverState = '';
2843 this._activeTrigger = {};
2844 this._popper = null; // Protected
2845
2846 this.element = element;
2847 this.config = this._getConfig(config);
2848 this.tip = null;
2849
2850 this._setListeners();
2851 } // Getters
2852
2853
2854 var _proto = Tooltip.prototype;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected