https://github.com/vaadin-component-factory/enhanced-dialog
Java API for vcf-enhanced-dialog component
https://github.com/vaadin-component-factory/enhanced-dialog
Last synced: 23 days ago
JSON representation
Java API for vcf-enhanced-dialog component
- Host: GitHub
- URL: https://github.com/vaadin-component-factory/enhanced-dialog
- Owner: vaadin-component-factory
- License: apache-2.0
- Created: 2020-06-09T19:40:53.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-07T19:33:33.000Z (almost 3 years ago)
- Last Synced: 2024-04-17T10:09:40.080Z (about 1 year ago)
- Language: Java
- Homepage: https://incubator.app.fi/enhanced-dialog-demo/enhanced-dialog
- Size: 69.3 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Component Factory Enhanced Dialog for Vaadin 14
[Live Demo ↗](https://incubator.app.fi/enhanced-dialog-demo/enhanced-dialog)
[<enhanced-dialog>](https://www.npmjs.com/package/@vaadin-component-factory/vcf-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
```java
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](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 [email protected]:vaadin-component-factory/enhanced-dialog.git
```to install project to your maven repository run
```mvn install```