Skip to main content

bn.offAppHide

offAppHide: (cb: AppHideCallback) => void

description Un-listens on the event that Mini Program is switched to background.

example

const handler = () => {}bn.onAppHide(handler)bn.offAppHide(handler)

Type declaration

▸ (cb): void

Parameters

NameType
cbAppHideCallback

Returns

void


AppHideCallback#

Ƭ AppHideCallback: () => void

Type declaration

▸ (): void

Returns

void