hideLoadingIndicator
hideLoadingIndicator
Immediately hides the form loading indicator shown by $form.showLoadingIndicator.
Parameters: None
Returns: None (void)
Description
Calls loaderOverlay.hide() directly, bound to the current form's contextKey. It hides immediately, with no reference counting.
$form vs $app in detail
$form.hideLoadingIndicator | $app.hideLoadingIndicator | |
|---|---|---|
| Coverage | That form's area only | The whole app (root overlay) |
| Reference counting | ❌ None — hides immediately | ✅ Yes — hides only when refCount reaches 0 |
| One hide after nested shows | Disappears right away | Needs as many hides as shows |
Example
$form.showLoadingIndicator(30);
$http.post("/api/submit", data, function(res) {
$form.hideLoadingIndicator();
$log.i("제출 완료:", res.data);
});
Related
$form.showLoadingIndicator(timeoutSeconds)— shows the form loading indicator$app.hideLoadingIndicator()— hides the app-wide indicator (with reference counting)