Starts in:
2 DAYS
2 HRS
18 MIN
31 SEC
Starts in:
2 D
2 H
18 M
31 S
Open Closed

Not able to fire loader programatically #5082


User avatar
0
ed_developer3 created

We are using Application template with Angular as frontend for our application.

we want to show loader when a user tries to log in on API/authorize/connect ui presented by API and on all pages in angular where we are doing proxy calls to api.

We tried to user [abpLoading]="isLoading" directive but not working. as per this url https://support.abp.io/QA/Questions/1203/Angular-UI-blocking-page-mechanism-during--loading--saving

Thanks


1 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    ABP manage 'wait' state every request with HttpWaitService (with api interceptor) and ABP has loading mechanism https://github.com/abpframework/abp/blob/dev/npm/ng-packs/packages/core/src/lib/services/http-wait.service.ts

    [abpLoading] directive produces a local loading animation in the attached place. It works well with, for example) button.

    I didn't understand the expectation. if user request to api, it already shows a loader by default. if you want to show loading bar on login. so you are already redirected to login page and it must have loading too. maybe there was a bug. could you give me a more information about your "goal"

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06