2.0.0 • Published 7 years ago

dropbear v2.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

DropbearMenu

A simple Javascript Dropdown menu

Image of a Dropbear

Installation

npm install dropbear --save

Usage

Simply pass an options object to Dropbear's construct method. The $selection property can be either a jQuery object or a regular DOM element.

var options = {
    $selection: $('#some-selection'),
    breakpoint: 768,
    toggleText: 'Menu',
    toggleElement: 'span'
};
DropBear.construct(options);