MCPcopy
hub / github.com/mongodb/node-mongodb-native / next

Function next

docs/2.2/lib/bootstrap.js:1805–1825  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1803 && $active.hasClass('fade')
1804
1805 function next() {
1806 $active
1807 .removeClass('active')
1808 .find('> .dropdown-menu > .active')
1809 .removeClass('active')
1810
1811 element.addClass('active')
1812
1813 if (transition) {
1814 element[0].offsetWidth // reflow for transition
1815 element.addClass('in')
1816 } else {
1817 element.removeClass('fade')
1818 }
1819
1820 if (element.parent('.dropdown-menu')) {
1821 element.closest('li.dropdown').addClass('active')
1822 }
1823
1824 callback && callback()
1825 }
1826
1827 transition ?
1828 $active

Callers 1

bootstrap.jsFile · 0.70

Calls 4

callbackFunction · 0.70
removeClassMethod · 0.45
findMethod · 0.45
addClassMethod · 0.45

Tested by

no test coverage detected