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

Function Collapse

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

Source from the content-addressed store, hash-verified

494 * ================================ */
495
496 var Collapse = function (element, options) {
497 this.$element = $(element)
498 this.options = $.extend({}, $.fn.collapse.defaults, options)
499
500 if (this.options.parent) {
501 this.$parent = $(this.options.parent)
502 }
503
504 this.options.toggle && this.toggle()
505 }
506
507 Collapse.prototype = {
508

Callers

nothing calls this directly

Calls 1

$Function · 0.70

Tested by

no test coverage detected