bn.enableSheetGesture
▸ enableSheetGesture(options
): void
description
When we use bn.navigateTo
and set routeType to bottom-sheet
, we can open non-full-screen pages. By default, gestures are supported to close non-full-screen pages. We can use bn.enableSheetGesture
api to turn off gesture support.
remark
Only supports Android
platform
example
bn.enableSheetGesture({ enableGesture: false })
Parameters
Name | Type |
---|---|
options | Object |
options.enableGesture | boolean |
Returns
void