0.3.5 • Published 10 years ago
overlay-component v0.3.5
Overlay
Page overlay component.
Installation
$ component install component/overlayAPI
overlay(options|element)
Returns a new Overlay.
Options:
closable: whether or not a user may click the overlay to close falsetarget: target element to overlay body
Overlay#show()
Show the overlay.
Overlay#hide()
Hide the overlay.
Events
showwhen the overlay is shownhidewhen the overlay is hiddenclosewhen the overlay is removed (follows hide normally)
License
MIT