Behavior
-
defaultPosition?: BottomSheetPosition
Optional. The initial position where the bottom sheet should appear. -
shouldCloseOnOutsideClick?: boolean
Optional. Determines if the bottom sheet should close when the outside is clicked. -
snapPoints?: number[]
Optional.[0.3, 0.8]
will make the bottom sheet stop at 30% and 80% of the screen height, from the top. -
expandable?: boolean
Optional. If true, the bottom sheet can be dragged up above its content height. Default istrue
. -
draggable?: boolean
Optional. If true, the bottom sheet can be dragged. Default istrue
. -
preventClosing?: boolean
Optional. If true, the bottom sheet cannot be dragged down below its content height. Defaults tofalse
. -
backgroundDraggable?: boolean
Optional. If true, the content’s background can be dragged. Default istrue
. -
dragTriggers?: string[]
Optional. Element selectors that will trigger dragging of the bottom sheet.