altearius / drop

A library for creating dropdowns and other floating elements. #hubspot-open-source

Home Page:http://github.hubspot.com/drop/docs/welcome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drop

GitHub version

Drop.js is a powerful Javascript and CSS library for creating dropdowns and other floating displays.

Drop Docs

Install

Dependencies

Installing via npm and bower will bring in the above dependencies as well.

npm

$ npm install tether-drop

bower

$ bower install tether-drop

Usage

let dropInstance = new Drop({
  target: document.querySelector('.drop-target'),
  content: 'Welcome to the future',
  classes: 'drop-theme-arrows',
  position: 'bottom left',
  openOn: 'click'
})

API documentation

Demo

Contributing

We encourage contributions of all kinds. If you would like to contribute in some way, please review our guidelines for contributing.

License

Copyright © 2015 HubSpot - MIT License

About

A library for creating dropdowns and other floating elements. #hubspot-open-source

http://github.hubspot.com/drop/docs/welcome

License:MIT License


Languages

Language:CSS 57.5%Language:JavaScript 42.5%