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

Readme

Keywords

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