New to Kendo UI for Angular? Start a free 30-day trial
AdaptiveService
The service responsible for handling changes in adaptive settings. Add it to the providers array when using adaptive breakpoints in a standalone component.
ts
import { AdaptiveService } from '@progress/kendo-angular-utils';
@Component({
selector: 'my-component',
standalone: true,
providers: [AdaptiveService, { provide: ADAPTIVE_SETTINGS, useValue: { small: 300 } }],
template: '...'
})
export class AppComponent {}
Constructors
AdaptiveService
(_adaptiveSettings: AdaptiveSettings, adaptiveSettingsService: AdaptiveSettingsService, zone: NgZone)
Parameters
_adaptiveSettings
adaptiveSettingsService
zone
NgZone