@polymer/paper-input

WebJar for @polymer/paper-input

License

License

BSD 3-Clause
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

polymer__paper-input
Last Version

Last Version

3.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

@polymer/paper-input
WebJar for @polymer/paper-input
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

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

Download polymer__paper-input

How to add to project

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

Dependencies

compile (7)

Group / Artifact Type Version
org.webjars.npm : polymer__iron-form-element-behavior jar [3.0.0-pre.26,4)
org.webjars.npm : polymer__iron-a11y-keys-behavior jar [3.0.0-pre.26,4)
org.webjars.npm : polymer__iron-behaviors jar [3.0.0-pre.26,4)
org.webjars.npm : polymer__iron-input jar [3.0.0-pre.26,4)
org.webjars.npm : polymer__paper-styles jar [3.0.0-pre.26,4)
org.webjars.npm : polymer__iron-autogrow-textarea jar [3.0.0-pre.26,4)
org.webjars.npm : polymer__polymer jar [3.0.0,4)

Project Modules

There are no modules declared in this project.

Published on NPM Build status Published on webcomponents.org

<paper-input>

<paper-input> is a single-line text field with Material Design styling.

See: Documentation, Demo.

Usage

Installation

npm install --save @polymer/paper-input

In an html file

<html>
  <head>
    <script type="module">
      import '@polymer/paper-input/paper-input.js';
    </script>
  </head>
  <body>
    <paper-input always-float-label label="Floating label"></paper-input>
  </body>
</html>

In a Polymer 3 element

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

class SampleElement extends PolymerElement {
  static get template() {
    return html`
      <paper-input always-float-label label="Floating label"></paper-input>
    `;
  }
}
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-input
cd paper-input
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.npm

Versions

Version
3.2.1
3.0.2
3.0.0-pre.1