px-slider

WebJar for px-slider

Лицензия

Лицензия

BSD 3-Clause
Категории

Категории

IDE Инструменты разработки
Группа

Группа

org.webjars.bowergithub.predixdesignsystem
Идентификатор

Идентификатор

px-slider
Последняя версия

Последняя версия

2.2.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

px-slider
WebJar for px-slider
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/predixdesignsystem/px-slider

Скачать px-slider

Как подключить последнюю версию

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

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
org.webjars.bowergithub.predixdesignsystem : px-component-helpers jar [1.0.0,2)
org.webjars.bowergithub.polymerelements : iron-a11y-keys jar [2.0.0,3)
org.webjars.bowergithub.predixdesignsystem » px-d3-imports jar [3.0.0,4)
org.webjars.bowergithub.predixdesignsystem : px-number-formatter jar [4.0.0,5)
org.webjars.bowergithub.polymerelements : iron-resizable-behavior jar [2.0.0,3)
org.webjars.bowergithub.polymer : polymer jar [1.9.0,3)

Модули Проекта

Данный проект не имеет модулей.

px-slider Build Status

Overview

Px-slider is a Predix UI component used to define a value in a range or a range of values within set boundaries.

Usage

Prerequisites

  1. node.js
  2. npm
  3. bower
  4. webcomponents-lite.js polyfill

Node, npm, and bower are necessary to install the component and dependencies. webcomponents.js adds support for web components and custom elements to your application.

Getting Started

First, install the component via bower on the command line:

bower install px-slider --save

Second, import the component in your application with the following tag in your head:

<link rel="import" href="/bower_components/px-slider/px-slider.html"/>

Finally, use the component in your application:

Single handled slider

<px-slider
  value="50"
  min="1"
  max="100">
</px-slider>

Multi-handled slider

<px-slider
  start-value="20"
  end-value="40"
  min="1"
  max="60">
</px-slider>

Single-handled slider with step

<px-slider
  value="250"
  step="50"
  min="0"
  max="500">
</px-slider>

Layout

The px-slider will always take the full-width of whatever container it is in. If resized or made visible for the first time (if the slider was in a modal for example) then the slider will need to be notified through the iron-resizable-behavior, by - for example - manually calling notifyResize() on it.

Documentation

Read the full API and view the demo here.

Local Development

From the component's directory...

$ npm install
$ bower install
$ gulp sass

From the component's directory, to start a local server run:

$ gulp serve

Navigate to the root of that server (e.g. http://localhost:8080/) in a browser to open the API documentation page, with link to the "Demo" / working examples.

GE Coding Style Guide

GE JS Developer's Guide



Known Issues

Please use Github Issues to submit any bugs you might find.

org.webjars.bowergithub.predixdesignsystem

Predix Design System

Версии библиотеки

Версия
2.2.2