Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hide the loading animation in the navigation bar.
my.showNavigationBarLoading()
my.hideNavigationBarLoading();
Page({ loadData() { my.showNavigationBarLoading(); my.request({ url: 'https://api.example.com/data', success: (res) => { this.setData({ data: res.data }); }, complete: () => { // Always hide loading, whether success or failure my.hideNavigationBarLoading(); } }); } });