PolymerElements / gold-cc-input

An input element that only allows credit card numbers
https://webcomponents.org/element/PolymerElements/gold-cc-input
13 stars 23 forks source link

Initial implementation #1

Closed notwaldorf closed 9 years ago

notwaldorf commented 9 years ago

This also needs an icon to show up when the card type is detected but our icons are a little meh at the moment. In the meantime, here is the initial implementation. It validates!! :tada:

/cc @cdata

notwaldorf commented 9 years ago

I 0.9'ed all the things too.

morethanreal commented 9 years ago

Need a test case for the setSelectionRange stuff, otherwise lgtm

notwaldorf commented 9 years ago

Added test! Thanks! :balloon: