Taro.hideTabBar(option)

2025-07-29 11:10:44

Taro.hideTabBar(option)Hides tabBar.

Reference

Type​(option: Option) => PromiseParameters​Option​PropertyTypeRequiredDescriptionanimationbooleanNoIndicates whether animation effects are requiredcomplete(res: CallbackResult) => voidNoThe callback function used when the API call completed (always executed whether the call succeeds or fails)fail(res: CallbackResult) => voidNoThe callback function for a failed API callsuccess(res: CallbackResult) => voidNoThe callback function for a successful API callAPI Support​APIWeChat Mini-ProgramH5React NativeTaro.hideTabBar✔️✔️✔️