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

Function Carousel

web/static/js/bootstrap.bundle.js:635–651  ·  view source on GitHub ↗
(element, config)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected