MCPcopy Create free account
hub / github.com/apache/cloudstack / Carousel

Function Carousel

tools/ngui/static/bootstrap/js/bootstrap.js:1778–1785  ·  view source on GitHub ↗
(element, options)

Source from the content-addressed store, hash-verified

1776 * ========================= */
1777
1778 var Carousel = function (element, options) {
1779 this.$element = $(element)
1780 this.$indicators = this.$element.find('.carousel-indicators')
1781 this.options = options
1782 this.options.pause == 'hover' && this.$element
1783 .on('mouseenter', $.proxy(this.pause, this))
1784 .on('mouseleave', $.proxy(this.cycle, this))
1785 }
1786
1787 Carousel.prototype = {
1788

Callers

nothing calls this directly

Calls 3

$Function · 0.85
onMethod · 0.80
findMethod · 0.65

Tested by

no test coverage detected