MCPcopy Index your code
hub / github.com/Blogify/Blogify / Carousel

Function Carousel

public/assets/assets/scripts/frontend.js:9512–9527  ·  view source on GitHub ↗
(element, options)

Source from the content-addressed store, hash-verified

9510 // =========================
9511
9512 var Carousel = function (element, options) {
9513 this.$element = $(element)
9514 this.$indicators = this.$element.find('.carousel-indicators')
9515 this.options = options
9516 this.paused = null
9517 this.sliding = null
9518 this.interval = null
9519 this.$active = null
9520 this.$items = null
9521
9522 this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))
9523
9524 this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element
9525 .on('mouseenter.bs.carousel', $.proxy(this.pause, this))
9526 .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
9527 }
9528
9529 Carousel.VERSION = '3.3.4'
9530

Callers

nothing calls this directly

Calls 1

$Function · 0.85

Tested by

no test coverage detected