ngx-loader-indicator icon indicating copy to clipboard operation
ngx-loader-indicator copied to clipboard

Angular 15 Setup

Open marct83 opened this issue 2 years ago • 1 comments

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.

marct83 avatar Jun 28 '23 22:06 marct83

@marct83 Сould you provide stackblitz

NepipenkoIgor avatar Jul 08 '24 13:07 NepipenkoIgor