vaadin-component-factory / enhanced-dialog

Java API for vcf-enhanced-dialog component
https://incubator.app.fi/enhanced-dialog-demo/enhanced-dialog
Apache License 2.0
1 stars 3 forks source link

Component Factory Enhanced Dialog for Vaadin 14

Live Demo ↗

<enhanced-dialog> is a Vaadin Dialog extension with header, footer and scrolling content area.

What does the component do?

Enhanced Dialog supports all the same features as Vaadin Dialog but also brings header and footer sections.

Basic Usage

EnhancedDialog dialog = new EnhancedDialog();
dialog.setHeader("Example Header");
dialog.setContent(new Span("Content"));
dialog.setFooter(new Button("Close", evt -> dialog.close()));
dialog.open();

How to run the demo?

The Demo can be run by going to the project enhanced-dialog-demo and executing the maven goal:

mvn jetty:run

After server startup, you'll be able find the demo at http://localhost:8080/enhanced-dialog

License & Author

This Add-on is distributed under Apache 2. For license terms, see LICENSE.txt.

Component Factory Enhanced Dialog is written by Vaadin Ltd.

Setting up for development:

Clone the project in GitHub (or fork it if you plan on contributing)

git clone git@github.com:vaadin-component-factory/enhanced-dialog.git

to install project to your maven repository run

mvn install