New to Kendo UI for Angular? Start a free 30-day trial
IconsService
The service responsible for handling changes in the icons settings. Should be included in the providers array when implementing the functionality in a standalone component.
ts
// Import the IconsService
import { IconsService } from '@progress/kendo-angular-icons';
// Define a standalone component
@Component({
selector: my-component,
standalone: true,
imports: [ ... ],
providers: [IconsService, { provide: ICON_SETTINGS , useValue: { type: 'font' } }],
template: ...
})
export class AppComponent {}
Constructors
IconsService
(_iconSettings: IconSettings, iconSettingsService: IconSettingsService)
Parameters
_iconSettings
iconSettingsService