Skip to main content

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

NameType
optionsObject
options.enableGestureboolean

Returns

void