Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 15 Setup #77

Open
marct83 opened this issue Jun 28, 2023 · 1 comment
Open

Angular 15 Setup #77

marct83 opened this issue Jun 28, 2023 · 1 comment

Comments

@marct83
Copy link

marct83 commented Jun 28, 2023

I have upgraded my app to angular 15. I am not using standalone components yet. I have added

This to my main.ts file

bootstrapApplication(AppComponent, {
  providers: [
      provideAnimations(),
      provideEnvironmentNgxLoaderIndicator({
        rotate: {
          duration: 5000
        },
        loaderStyles: {
          'z-index': '9999'
        }
      }),
  ],
}).catch((err) => console.error(err));

And have added this to my component

  providers: [
    provideNgxLoaderIndicator(),
],

Error I'm seeing

Can't bind to 'loader' since it isn't a known property of 'div'.

How do I get this to work. A complete source code example would be very helpful.

@NepipenkoIgor
Copy link
Contributor

@marct83 Сould you provide stackblitz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants