Bootstrap Navbar Dropdowns

https://github.com/fontenele/bootstrap-navbar-dropdowns

Support for bootstrap 3, 4 and 5

Installation

Node

npm install boostrap-navbar-dropdowns

or

yarn add boostrap-navbar-dropdowns
Using CDN
<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>

Usage

$('.navbar').navbarDropdown({
  theme: 'bs5',
  trigger: 'mouseover'
});

Options

Name Type Description
theme string Bootstrap theme. Valid values are bs3bs4 or bs5
trigger string Event for show dropdown content. Valid values are all DOM Events.

Examples

Creators

Guilherme Fontenele

Bootstrap resoures

Copyright and license

Copyright Guilherme Fontenele, 2014–2020.

Licensed under the MIT License.

相关推荐

暂无评论

微信扫一扫,分享到朋友圈

Bootstrap Navbar Dropdowns