Skip to main content
VelinStyle v0.8.0
⌂ Home
  1. Docs
  2. Components
  3. Sheet

Sheet

The <velin-sheet> component is a bottom sheet dialog with focus trap and scroll lock. Methods: open() and close(). Added in 0.7.5.

Example

Sheet body content.

<velin-sheet id="sheet" title="Settings"><p>Content</p></velin-sheet>

Accessibility

Import

Load the bundle once, then use the custom element in your markup:

<script type="module" src="../../dist/velinstyle-components.min.js"></script>
<velin-sheet>…</velin-sheet>

Theme wählen