setCanClose
Sets whether the bottom sheet can be closed by user.
It can be closed via the close button, swiping down, pressing Escape or clicking the content dimming (when modal).
Bottom sheet can still be closed using property@BottomSheet:open.
Since
1.6
Parameters
canClose
whether the sheet can be closed by user