0.10.2 • Published 4 years ago

falldown v0.10.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

falldown

A vanilla javascript drop-down box replacement with no required external stylesheet.

Features include single or multiple drop-down box. Fully control styling using classes or intialization options in javascript. Create the drop-down box using only javascript or only markup. Events system to capture when the box changes.

Simple Example

import { FallDown } from 'falldown'

const falldown = new FallDown({
    parent: document.body,
    label: 'Choose a color:',
    options: [
        'black',
        'blue',
        'green',
        'purple',
        'yellow'
    ],
    addCSS: true,
    selected: 'black'
})
falldown.on('select', value => console.log(value))

Live Example

https://davidfig.github.io/falldown/

API Documentation

https://davidfig.github.io/falldown/jsdoc/

Installation

npm i falldown

Other Libraries

If you liked dropdown, please try my other open source libraries:

  • pixi-scrollbox - pixi.js scrollbox: a masked box that can scroll vertically or horizontally with scrollbars (uses pixi-viewport)
  • pixi-ease - pixi.js animation library using easing functions
  • intersects - a simple collection of 2d collision/intersects functions. Supports points, circles, lines, axis-aligned boxes, and polygons

license

MIT License
(c) 2019 YOPEY YOPEY LLC by David Figatner

0.10.2

4 years ago

0.10.1

4 years ago

0.9.11

5 years ago

0.9.10

5 years ago

0.9.9

5 years ago

0.9.8

5 years ago

0.9.7

5 years ago

0.9.6

5 years ago

0.9.5

5 years ago

0.9.4

5 years ago

0.9.3

5 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago

0.8.2

5 years ago

0.8.1

5 years ago

0.8.0

5 years ago

0.7.2

5 years ago

0.7.1

5 years ago

0.7.0

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago