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

Function Collapse

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

Source from the content-addressed store, hash-verified

1609 * ================================ */
1610
1611 var Collapse = function (element, options) {
1612 this.$element = $(element)
1613 this.options = $.extend({}, $.fn.collapse.defaults, options)
1614
1615 if (this.options.parent) {
1616 this.$parent = $(this.options.parent)
1617 }
1618
1619 this.options.toggle && this.toggle()
1620 }
1621
1622 Collapse.prototype = {
1623

Callers

nothing calls this directly

Calls 2

$Function · 0.85
extendMethod · 0.80

Tested by

no test coverage detected