gold-cc-expiration-input

WebJar for gold-cc-expiration-input

License

License

BSD 3-Clause
GroupId

GroupId

org.webjars.bowergithub.polymerelements
ArtifactId

ArtifactId

gold-cc-expiration-input
Last Version

Last Version

2.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

gold-cc-expiration-input
WebJar for gold-cc-expiration-input
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/PolymerElements/gold-cc-expiration-input

Download gold-cc-expiration-input

How to add to project

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

Dependencies

compile (8)

Group / Artifact Type Version
org.webjars.bowergithub.polymerelements : iron-form-element-behavior jar [1.0.0,3)
org.webjars.bowergithub.polymerelements : iron-validatable-behavior jar [1.0.0,3)
org.webjars.bowergithub.polymerelements : iron-a11y-keys-behavior jar [1.0.0,3)
org.webjars.bowergithub.polymer : polymer jar [1.9.0,3)
org.webjars.bowergithub.polymerelements : iron-flex-layout jar [1.0.0,3)
org.webjars.bowergithub.polymerelements : paper-input jar [1.0.0,3)
org.webjars.bowergithub.polymerelements : paper-styles jar [1.0.0,3)
org.webjars.bowergithub.polymerelements : iron-validator-behavior jar [1.0.0,3)

Project Modules

There are no modules declared in this project.

Published on NPM Build status Published on webcomponents.org

##<gold-cc-expiration-input>

gold-cc-expiration-input is a single-line text field with Material Design styling for entering a credit card's expiration date See: Documentation, Demo.

Changes in 3.0

  • date-input will no longer fire the dateChanged event.
    • Instead listen to the non-bubbling date-changed event.
  • Values set delcaratively will be visible.

Usage

Installation

npm install --save @polymer/gold-cc-expiration-input

In an html file

<html>
  <head>
    <script type="module">
      import '@polymer/gold-cc-expiration-input/gold-cc-expiration-input.js';
    </script>
  </head>
  <body>
    <gold-cc-expiration-input></gold-cc-expiration-input>
    <gold-cc-expiration-input value="11/15"></gold-cc-expiration-input>
    <gold-cc-expiration-input label="Date"></gold-cc-expiration-input>
  </body>
</html>

In a Polymer 3 element

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

class SampleElement extends PolymerElement {
  static get template() {
    return html`
      <gold-cc-expiration-input></gold-cc-expiration-input>
      <gold-cc-expiration-input value="11/15"></gold-cc-expiration-input>
      <gold-cc-expiration-input label="Date"></gold-cc-expiration-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/gold-cc-expiration-input
cd gold-cc-expiration-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.bowergithub.polymerelements

Versions

Version
2.1.1
2.1.0
1.1.3