New to Kendo UI for AngularStart a free 30-day trial

AdaptiveService

The service responsible for handling changes in the adaptive settings. Should be included in the providers array when implementing the functionality in a standalone component.

ts
// Import the AdaptiveService
import { AdaptiveService } from '@progress/kendo-angular-utils';

// Define a standalone component
@Component({
 selector: my-component,
 standalone: true,
 imports: [ ... ],
 providers: [AdaptiveService, { provide: ADAPTIVE_SETTINGS , useValue: { small: 300 } }],
 template: ...
})
export class AppComponent {}

Constructors

AdaptiveService

(_adaptiveSettings: AdaptiveSettings, adaptiveSettingsService: AdaptiveSettingsService)

Parameters

_adaptiveSettings

AdaptiveSettings

adaptiveSettingsService

AdaptiveSettingsService

In this article
ConstructorsAdaptiveService
Not finding the help you need?
Contact Support