Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

Latest commit

 

History

History
33 lines (17 loc) · 441 Bytes

Readme.md

File metadata and controls

33 lines (17 loc) · 441 Bytes

sidebar

sidebar implementation, inspired by OSX notification center.

still very beta

Installation

$ component install yields/sidebar

API

Sidebar(el, location)

Initialize new Sidebar with element and location. location might be top, bottom, left or right.

sidebar.open()

Open the sidebar.

sidebar.close()

Close the sidebar.

sidebar.toggle()

Toggle open / close

License

MIT