yy-drawer

1.0.1 • Public • Published

yy-drawer

A vanilla-javascript drawer UI component

rationale

I needed a clean drawer for one of my projects.

Live Example

https://davidfig.github.io/drawer/

API Documentation

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

Installation

npm i yy-drawer

Simple Example

var Drawer = require('yy-drawer');
 
new Drawer({
        size: 100,
        styles: {
            background: 'rgb(150,100,100)',
            color: 'white',
        },
        full: true,
        open: true,
        content: 'this is the contents of the drawer',
        contentStyles: {
            padding: '0.5em'
        }    
});

license

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.10latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.10
1.0.00
0.12.00
0.11.10
0.11.00
0.10.10
0.10.00
0.9.10
0.9.00
0.8.00
0.7.00
0.6.10
0.6.00
0.5.20
0.5.10
0.5.00

Package Sidebar

Install

npm i yy-drawer

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

30.4 kB

Total Files

7

Last publish

Collaborators

  • davidfig