Skip to main content

bn.hideHomeButton

hideHomeButton(): Promise<{}>

description Hide Back HomeButton.When the bottom page of the mini program opened by the user is not the homepage, the "Back to Homepage" button is displayed by default. Developers can use hideHomeButton in the onShow/componentDidShow page to hide HomeButton.

example

await bn.hideHomeButton()

Returns

Promise<{}>