Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Page overlay component
JavaScript HTML CSS Makefile

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
.npmignore
Makefile
Readme.md
component.json
index.js
overlay.css
overlay.html
package.json

Readme.md

Overlay

Page overlay component.

Installation

$ npm install overlay-component

API

overlay([options])

Returns a new Overlay.

Options:

  • closable: whether or not a user may click the overlay to close [false]

Overlay#show()

Show the overlay.

Overlay#hide()

Hide the overlay.

License

MIT

Something went wrong with that request. Please try again.