Skip to content

fontenele/bootstrap-navbar-dropdowns

Repository files navigation

npm version License Build Status

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 bs3, bs4 or bs5
trigger string Event for show dropdown content. Valid values are all DOM Events.

Examples

Creators

Guilherme Fontenele

Copyright and license

Copyright Guilherme Fontenele, 2014–2020.

Licensed under the MIT License.