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

Function Dropdown

explainshell/web/static/js/bootstrap.js:663–668  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

661
662 var toggle = '[data-toggle=dropdown]'
663 , Dropdown = function (element) {
664 var $el = $(element).on('click.dropdown.data-api', this.toggle)
665 $('html').on('click.dropdown.data-api', function () {
666 $el.parent().removeClass('open')
667 })
668 }
669
670 Dropdown.prototype = {
671

Callers

nothing calls this directly

Calls 1

$Function · 0.70

Tested by

no test coverage detected