hideLoadingIndicator
hideLoadingIndicator
$form.showLoadingIndicator로 표시된 폼 로딩 인디케이터를 즉시 숨깁니다.
파라미터: 없음
반환: 없음 (void)
설명
현재 폼의 contextKey에 바인딩된 loaderOverlay.hide()를 직접 호출합니다. 레퍼런스 카운팅 없이 즉시 숨겨집니다.
$form vs $app 상세 비교
| 구분 | $form.hideLoadingIndicator | $app.hideLoadingIndicator |
|---|---|---|
| 숨김 범위 | 해당 폼 영역만 | 앱 전체 (루트 오버레이) |
| 레퍼런스 카운팅 | ❌ 없음 — 즉시 숨김 | ✅ 있음 — refCount가 0이 될 때만 실제 숨김 |
| 중첩 show 후 한 번 hide | 바로 사라짐 | show 횟수만큼 hide 해야 사라짐 |
Example
$form.showLoadingIndicator(30);
$http.post("/api/submit", data, function(res) {
$form.hideLoadingIndicator();
$log.i("제출 완료:", res.data);
});
관련
$form.showLoadingIndicator(timeoutSeconds)— 폼 로딩 인디케이터 표시$app.hideLoadingIndicator()— 앱 전체 인디케이터 숨김 (레퍼런스 카운팅)