PropertyAttributeDescriptionTypeDefaultaria ariaAdd ARIA attributes.type SheetAriaAttribute = { 'aria-label'?: string; 'role'?: string; }undefineddisableBackdropClick disable-backdrop-clickIf true, the sheet will not be closable via backdrop click.booleanfalsedismissButton dismiss-buttonIf false, the sheet will not have a dismiss button.booleantrueopen openIf true, the sheet is open.booleanfalsetheme themeAdapts the sheet color depending on the theme.type Theme = 'light' 'dark' 'auto''light'
Events
prev
next
EventDescriptionTypedismiss Emitted when the component requests to be dismissed.CustomEvent<void>motionHiddenEnd Emitted when the sheet is closed and the transition is finished.type SheetMotionHiddenEndEventDetail = TransitionEvent CustomEvent<SheetMotionHiddenEndEventDetail>motionVisibleEnd Emitted when the sheet is opened and the transition is finished.type SheetMotionVisibleEndEventDetail = TransitionEvent CustomEvent<SheetMotionVisibleEndEventDetail>
Slots
prev
next
SlotDescriptionisRequiredaltPropallowedTagNames<slot name="header"> Renders a header section above the content area.<slot> Default slot for the main content.