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

Function Dropdown

tools/ngui/static/bootstrap/js/bootstrap.js:338–343  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

336
337 var toggle = '[data-toggle=dropdown]'
338 , Dropdown = function (element) {
339 var $el = $(element).on('click.dropdown.data-api', this.toggle)
340 $('html').on('click.dropdown.data-api', function () {
341 $el.parent().removeClass('open')
342 })
343 }
344
345 Dropdown.prototype = {
346

Callers

nothing calls this directly

Calls 3

$Function · 0.85
onMethod · 0.80
parentMethod · 0.80

Tested by

no test coverage detected