Sheet

The main sheet component that manages state and positioning.

Read more Read less

Options

  • :id - Required unique identifier for the sheet.
  • :open - Whether the sheet is initially open. Defaults to false.
  • :on-open - Handler for sheet open event.
  • :on-close - Handler for sheet close event.
  • :class - Additional CSS classes.
Attribute Type Documentation Default Value
Required id * :string

Unique identifier for the sheet

open :boolean

Whether the sheet is initially open

false
class :string
close-on-outside-click :boolean true
on-open :any

Handler for sheet open event

on-close :any

Handler for sheet close event

rest :global
Required inner_block * :slot