JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5196
  • Score
    100M100P100Q124402F
  • License MIT

Client-side library for creating dropdowns

Package Exports

  • tether-drop
  • tether-drop/dist/css/drop-theme-basic.css

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tether-drop) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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