vcf-enhanced-dialog 23.1.1
Install from the command line:
Learn more about npm packages
$ npm install @vaadin-component-factory/vcf-enhanced-dialog@23.1.1
Install via package.json:
"@vaadin-component-factory/vcf-enhanced-dialog": "23.1.1"
About this version
<vcf-enhanced-dialog>
is a Web Component for creating customized modal dialogs.
This is an extension of <vaadin-dialog>
that adds the following features:
- Header and footer sections.
- Scrollable content area.
- Size themes.
Live demo ↗ | API documentation ↗
Install vcf-enhanced-dialog
:
npm i @vaadin-component-factory/vcf-enhanced-dialog --save
Once installed, import it in your application:
import '@vaadin-component-factory/vcf-enhanced-dialog';
Add <vcf-enhanced-dialog>
element to the page. Use a <template>
or renderer function to add content to the dialog.
<vcf-enhanced-dialog>
<template>
<h2 slot="header">Header</h2>
<p>...</p>
<vaadin-button slot="footer" onclick="cancel()">Cancel</vaadin-button>
</template>
</vcf-enhanced-dialog>
-
Fork the
vcf-enhanced-dialog
repository and clone it locally. -
Make sure you have npm installed.
-
When in the
vcf-enhanced-dialog
directory, runnpm install
to install dependencies. -
Run
npm start
to open the demo.
This is the client-side (Polymer 3) web component. If you are looking for the server-side (Java) API for the Vaadin Platform, it can be found here: Enhanced Dialog
Apache License 2.0
Details
- vcf-enhanced-dialog
- vaadin-component-factory
- over 2 years ago
- https://raw.githubusercontent.com/vaadin/vaadin-incubator-element/master/LICENSE
- 56 dependencies
Assets
- vcf-enhanced-dialog-23.1.1-npm.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0