https://github.com/juchar/color-picker-field-flow
Vaadin Flow Java API for juchar/color-picker-field Web Component
https://github.com/juchar/color-picker-field-flow
color-picker java vaadin
Last synced: 22 days ago
JSON representation
Vaadin Flow Java API for juchar/color-picker-field Web Component
- Host: GitHub
- URL: https://github.com/juchar/color-picker-field-flow
- Owner: Juchar
- License: other
- Created: 2019-07-17T11:29:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T10:17:47.000Z (over 2 years ago)
- Last Synced: 2025-03-30T11:51:11.232Z (about 2 months ago)
- Topics: color-picker, java, vaadin
- Language: Java
- Homepage:
- Size: 708 KB
- Stars: 1
- Watchers: 3
- Forks: 5
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://vaadin.com/directory/component/jucharcolor-picker-field-flow)
# ColorPickerField component for Vaadin Flow
This project is the Component wrapper implementation of [``](https://github.com/Juchar/color-picker-field) element
for use from the server side with [Vaadin Flow](https://github.com/vaadin/flow).## Converted vs. Raw Value
There are two implementations of the color picker:
- `ColorPickerField`- Provides the value automatically converted to a `java.awt.Color`
- `ColorPickerFieldRaw` - Provides the value as raw CSS Color `String`## Running the component demo
Starting the test/demo server:
```
mvn jetty:run
```This deploys demo at http://localhost:8080
## Installing the component
Run from the command line:
- `mvn clean install -DskipTests`## Using the component in a Flow application
To use the component in an application using maven,
add the following dependency to your `pom.xml`:
```com.github.juchar
color-picker-field-flow
${component.version}```
## Flow documentation
Documentation for flow can be found in [Flow documentation](https://github.com/vaadin/flow-and-components-documentation/blob/master/documentation/Overview.asciidoc).## Contributing
- Use the coding conventions from [Flow coding conventions](https://github.com/vaadin/flow/tree/master/eclipse)
- [Submit a pull request](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github) with detailed title and description
- Wait for response from the author## License
Apache License 2.0