Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 461 Bytes

Readme.md

File metadata and controls

31 lines (18 loc) · 461 Bytes

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