MCPcopy Create free account
hub / github.com/idank/explainshell / Carousel

Function Carousel

explainshell/web/static/js/bootstrap.js:290–297  ·  view source on GitHub ↗
(element, options)

Source from the content-addressed store, hash-verified

288 * ========================= */
289
290 var Carousel = function (element, options) {
291 this.$element = $(element)
292 this.$indicators = this.$element.find('.carousel-indicators')
293 this.options = options
294 this.options.pause == 'hover' && this.$element
295 .on('mouseenter', $.proxy(this.pause, this))
296 .on('mouseleave', $.proxy(this.cycle, this))
297 }
298
299 Carousel.prototype = {
300

Callers

nothing calls this directly

Calls 1

$Function · 0.70

Tested by

no test coverage detected