Bootmenu
Simple jQuery animated searchable select menu based on bootstrap framework.
Demo
Installation
Add [bootmenu.min.js] to your project.
Bootmenu is also available via npm
$ npm install --save bootmenu
Basic usage
;
Ideas
- Bind two select menus on the callback to make a nested one.
;
Configuration
items
Array of items to be added to the list. (default: Please add items to the dropdown!
)
var food = 'Pizza' 'Meat' 'Melon' 'Chicken' "Lasagna" "Eggs";;
defaultText
The default placeholder text to display. (default: Select here!
)
;
listname
A unique identifier for each select menu, if you're using more than one menu. (default: listOne
)
;
background
and hoverColor
The background color of menu and the hover color of the items. (default: #3498DB
and #2C3E50
)
;
listAnimation
The animation effect when clicking the select menu. (default: slideDown
)
Available animations: rotation, slideDown, fade, slideLeft, rotate, fly,
;
animationDuration
Duration of the animation when clicking the menu. (default: 500ms
)
;
Callback
;
Thanks
Bootmenu © 2016-2017.
GitHub @mariomed7at · Facebook Mario Medhat