Page overlay component.
$ component install component/overlay
Returns a new Overlay
.
Options:
closable
: whether or not a user may click the overlay to close [false]target
: target element to overlay [body]
Show the overlay.
Hide the overlay.
show
when the overlay is shownhide
when the overlay is hiddenclose
when the overlay is removed (follows hide normally)
MIT