Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.rebellapp.com/llms.txt

Use this file to discover all available pages before exploring further.

Use this API to hide the loading indicator that was shown with my.showNavigationBarLoading().

Parameters

This API does not require any parameters.

Code Example

Basic Usage

my.hideNavigationBarLoading();

Complete Loading Pattern

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();
      }
    });
  }
});

my.showNavigationBarLoading

Show the loading indicator

my.hideLoading

Hide fullscreen loading