Kendo UI for Vue AdaptiveModeProvider Overview

The increasing variety of mobile devices requires an adaptive rendering for your application that covers all different screen resolutions and ensures a smooth user experience. You can customize the adaptive rendering of the Kendo UI for Vue components by modifying the default adaptive breakpoints.

ninja-iconThe AdaptiveMode is part of Kendo UI for Vue, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.Start Free Trial

AdaptiveModeProvider

The AdaptiveModeProvider is based on Vue provide and inject pattern that provides a global configuration for adaptive rendering across various components. It lets you define breakpoints for small and medium screen sizes. This provider is essential for implementing responsive layouts, where UI components such as DatePicker, DropDownList, ComboBox, and others may need to adapt.

The provider itself provides small and medium breakpoints. You should wrap your components in a AdaptiveModeProvider to pass these values down the component tree:

  • small—Sets the horizontal screen width in pixels up to which the component will display as a full-screen modal. The default value is 500.
  • medium—Sets the horizontal screen width in pixels up to which the component will display as a docked-to-the-bottom modal. The default value is 768.

The following example demonstrates how to customize the adaptive settings of the Kendo UI for Vue ComboBox component.

Change Theme
Theme
Loading ...
In this article
AdaptiveModeProviderSuggested Links
Not finding the help you need?
Contact Support