Skip to main content
Use this API to hide a loading indicator shown with my.showLoading().

Parameters

PropertyTypeRequiredDescription
pageObjectNoPage object to hide loading on

Code Example

my.showLoading({ content: 'Saving...' });

saveData().then(() => {
  my.hideLoading();
  my.showToast({ content: 'Saved!', type: 'success' });
});

my.showLoading

Show loading

my.hideToast

Hide toast