paper-slider

WebJar for paper-slider

License

License

BSD 3-Clause
Categories

Categories

IDE Development Tools
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

paper-slider
Last Version

Last Version

2.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

paper-slider
WebJar for paper-slider
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/PolymerElements/paper-slider

Download paper-slider

How to add to project

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

Dependencies

compile (9)

Group / Artifact Type Version
org.webjars.bower : github-com-polymerelements-paper-input jar [1,3)
org.webjars.bower : github-com-polymerelements-iron-a11y-keys-behavior jar [1,3)
org.webjars.bower : github-com-polymerelements-paper-styles jar [1,3)
org.webjars.bower : github-com-polymerelements-iron-flex-layout jar [1,3)
org.webjars.bower : github-com-polymerelements-iron-behaviors jar [1,3)
org.webjars.bower : github-com-polymerelements-paper-progress jar [1,3)
org.webjars.bower : github-com-polymer-polymer jar [1.9,3)
org.webjars.bower : github-com-polymerelements-iron-form-element-behavior jar [1,3)
org.webjars.bower : github-com-polymerelements-paper-behaviors jar [1,3)

Project Modules

There are no modules declared in this project.

Published on NPM Build status Published on webcomponents.org

<paper-slider>

Material design: Sliders

paper-slider allows user to select a value from a range of values by moving the slider thumb. The interactive nature of the slider makes it a great choice for settings that reflect intensity levels, such as volume, brightness, or color saturation.

See: Documentation, Demo.

Usage

Installation

npm install --save @polymer/paper-slider

In an html file

<html>
  <head>
    <script type="module">
      import '@polymer/paper-slider/paper-slider.js';
    </script>
  </head>
  <body>
    <paper-slider
        value="183"
        max="255"
        secondary-progress="200"
        editable>
    </paper-slider>
  </body>
</html>

In a Polymer 3 element

import {PolymerElement, html} from '@polymer/polymer';
import '@polymer/paper-slider/paper-slider.js';

class SampleElement extends PolymerElement {
  static get template() {
    return html`
      <paper-slider
        value="183"
        max="255"
        secondary-progress="200"
        editable>
    </paper-slider>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Contributing

If you want to send a PR to this element, here are the instructions for running the tests and demo locally:

Installation

git clone https://github.com/PolymerElements/paper-slider
cd paper-slider
npm install
npm install -g polymer-cli

Running the demo locally

polymer serve --npm
open http://127.0.0.1:<port>/demo/

Running the tests

polymer test --npm
org.webjars.bower

Versions

Version
2.0.2
1.0.6