l2t-paper-color

WebJar for l2t-paper-color

License

License

MIT
GroupId

GroupId

org.webjars.bowergithub.link2twenty
ArtifactId

ArtifactId

l2t-paper-color
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

l2t-paper-color
WebJar for l2t-paper-color
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/Link2Twenty/l2t-paper-color

Download l2t-paper-color

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.link2twenty/l2t-paper-color/ -->
<dependency>
    <groupId>org.webjars.bowergithub.link2twenty</groupId>
    <artifactId>l2t-paper-color</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.link2twenty/l2t-paper-color/
implementation 'org.webjars.bowergithub.link2twenty:l2t-paper-color:1.0.4'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.link2twenty/l2t-paper-color/
implementation ("org.webjars.bowergithub.link2twenty:l2t-paper-color:1.0.4")
'org.webjars.bowergithub.link2twenty:l2t-paper-color:jar:1.0.4'
<dependency org="org.webjars.bowergithub.link2twenty" name="l2t-paper-color" rev="1.0.4">
  <artifact name="l2t-paper-color" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.link2twenty', module='l2t-paper-color', version='1.0.4')
)
libraryDependencies += "org.webjars.bowergithub.link2twenty" % "l2t-paper-color" % "1.0.4"
[org.webjars.bowergithub.link2twenty/l2t-paper-color "1.0.4"]

Dependencies

compile (10)

Group / Artifact Type Version
org.webjars.bowergithub.polymerelements : paper-behaviors jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : paper-slider jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : paper-radio-group jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : paper-input jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : iron-flex-layout jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : paper-dialog jar [2.0.0,3)
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : paper-button jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : paper-styles jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : iron-icons jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

Published on webcomponents.org Published on Vaadin  Directory Stars on vaadin.com/directory

l2t-paper-color

Dialogue box for selecting colors

gif

Install with bower

First you need bower, see their site for details

bower install --save l2t-paper-color

Examples

  <l2t-paper-color></l2t-paper-color>

Styling

The following custom properties are available for styling:

Custom property Description Default
--l2t-paper-color-width width of input 120px
--l2t-paper-color-indicator-icon style for color indicator (programmatically set) transparent
--l2t-paper-color-indicator-icon-display display style for color indicator (programmatically set) none

Attributes

Public

Attribute Name Functionality Type Default
alwaysFloatLabel always-float-label: boolean label always in float position boolean false
colors array to store list of colors Array false
disabled boolean input diabled Number 5
hideAdvanced boolean to hide advance button boolean false
label string to store hex color value string "Color select"
noLabelFloat boolean remove label when value contains text boolean false
readonly boolean input read only boolean false
value string for value of input string ""

Methods

Private

Method Name Action
_colorUpdate() Updates styles to match value
_createDialog Create dialog on first request
_dialogHandler(e) If dialog is confirmed update value
_openDialog() Open dialog if not readonly

Versions

Version
1.0.4
1.0.2