overlay-component
v0.3.5
Published
Overlay component
Maintainers
Readme
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 [false]target: 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
