npm install boostrap-navbar-dropdowns
or
yarn add boostrap-navbar-dropdowns
<link href="https://cdn.jsdelivr.net/gh/fontenele/[email protected]/dist/css/bootstrap-navbar-dropdowns.min.css"rel="stylesheet">
<script src="https://cdn.jsdelivr.net/gh/fontenele/[email protected]/dist/js/bootstrap-navbar-dropdowns.min.js"></script>
$('.navbar').navbarDropdown({
theme: 'bs5',
trigger: 'mouseover'
});
Name | Type | Description |
---|---|---|
theme |
string | Bootstrap theme. Valid values are bs3, bs4 or bs5 |
trigger |
string | Event for show dropdown content. Valid values are all DOM Events. |
Guilherme Fontenele
Copyright Guilherme Fontenele, 2014–2020.
Licensed under the MIT License.