pjlamb12 / angular-svg-icon-preloader

Angular service that preloads a JSON list of SVG icons for use with the angular-svg-icon library
MIT License
11 stars 4 forks source link

Provider question #21

Open ross1296 opened 3 weeks ago

ross1296 commented 3 weeks ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[x] Support request
[ ] Other... Please describe:

Current behavior

Is this the correct approach to using angular-svg-icon-preloader if using provideAngularSvgIcon()? This is an Angular 18.2.2 application using bootstrapApplication()

provideAngularSvgIcon(),
importProvidersFrom(
  AngularSvgIconPreloaderModule.forRoot({
    configUrl: 'assets/svg-icons.json',
  })
),