Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juchar/color-picker-flow

Vaadin Flow Java API for juchar/color-picker Web Component
https://github.com/juchar/color-picker-flow

color-picker java vaadin

Last synced: 3 days ago
JSON representation

Vaadin Flow Java API for juchar/color-picker Web Component

Awesome Lists containing this project

README

        

[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/jucharcolor-picker-flow)

# ColorPicker component for Vaadin Flow

This project is the Component wrapper implementation of [``](https://github.com/Juchar/color-picker) 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:
- `ColorPicker`- Provides the value automatically converted to a `java.awt.Color`
- `ColorPickerRaw` - 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-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