Getting Started with KendoVue Popup
The KendoVue Popup positions a piece of content next to a specific anchor component.
The KendoVue Popup component is part of the KendoVue library of Vue UI components. It is distributed through NPM under the kendo-vue-popup package.
Basic Usage
The following example demonstrates the Popup in action.
Functionality and Features
Installation
To initialize the Popup, either:
Using CDN
Using CDN
To use the Kendo UI for Vue Native Popup component with CDN, follow the below steps:
- Reference the
popup
package.
<script src="https://unpkg.com/@progress/kendo-vue-popup@latest/dist/cdn/js/kendo-vue-popup.js"></script>
- Reference one of the Kendo UI themes to style your components.
// Load the Kendo Default Theme
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-default@latest/dist/all.css">
// Load the Kendo Bootstrap Theme
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-bootstrap@latest/dist/all.css">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
// To load the Kendo Material Theme
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-material@latest/dist/all.css">
- Follow the instructions in this article to activate your product license. You can skip this step if your application already contains a license key.
Initializing with Webpack
Download and install the package. Use Node.js v5.0.0 or later.
npm install --save @progress/kendo-vue-popup @progress/kendo-licensing
Once installed, import the package module.
// ES2015 module syntax import { Popup } from '@progress/kendo-vue-popup';
// CommonJS format const { Popup } = require('@progress/kendo-vue-popup');
You are required to install one of the Kendo UI themes to style your components. For more information on how to add the styles, refer to the article on getting started.
Follow the instructions on the Kendo UI for Vue My License page to activate your license. You can skip this step if your application already contains a Kendo UI license file.
Dependencies
The Popup package requires you to install the following peer dependencies in your application:
- vue 2.6.11 or 3.0.0
- @progress/kendo-licensing