0.2.0 • Published 8 years ago
mobile-overlay v0.2.0
Overlay
A simple overlay forked from Yuehu.
Showcase at http://chemzqm.github.io/overlay/.
Installation
Install with component(1):
$ component install chemzqm/overlay
API
var Overlay = require('overlay');
var el = document.getElementById('overlay-html');
var o = new Overlay(el);
new Overlay(el)
Init Overlay with el
as body.
.hide()
Hide overlay.
License
MIT