jiro-ui
Version:
A Mithril.js UI library based from construct-ui
8 lines (5 loc) • 365 B
Markdown
@# Overlay
An overlay is composed of a `Portal` component that allows for content to be rendered on top of it's siblings. By default, an `Overlay` will render it's content to an element appended to `document.body`. It is a controlled component and can only be toggled via the `isOpen` attribute.
@example OverlayExample
@## Overlay Attrs
@interface IOverlayAttrs