dropl
v0.0.7
Published
dropdown
Downloads
3
Readme
##dropl
minimalistic dropdown for dummies
npm install dropl
###html structure
<div id="dropdown">
<a href="#" class="dropl-clicker">open</a>
<div class="dropl-main dropl-hidden">
dropdown content
</div>
</div>
###usage
var element = document.querySelector("#dropdown");
var options = {
'align': 'right'
};
var dropdown = dropl(element, options);