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

Function Carousel

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

Source from the content-addressed store, hash-verified

634 /*#__PURE__*/
635 function () {
636 function Carousel(element, config) {
637 this._items = null;
638 this._interval = null;
639 this._activeElement = null;
640 this._isPaused = false;
641 this._isSliding = false;
642 this.touchTimeout = null;
643 this.touchStartX = 0;
644 this.touchDeltaX = 0;
645 this._config = this._getConfig(config);
646 this._element = element;
647 this._indicatorsElement = this._element.querySelector(Selector$2.INDICATORS);
648 this._touchSupported = 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0;
649 this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent);
650
651 this._addEventListeners();
652 } // Getters
653
654
655 var _proto = Carousel.prototype;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected