update components
This commit is contained in:
parent
ffb0fd30b6
commit
d131f21626
27 changed files with 180 additions and 115 deletions
|
@ -1,10 +1,14 @@
|
|||
{
|
||||
"name": "iron-form-element-behavior",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"license": "http://polymer.github.io/LICENSE.txt",
|
||||
"private": true,
|
||||
"main": "iron-form-element-behavior.html",
|
||||
"authors": "The Polymer Authors",
|
||||
"main": [
|
||||
"iron-form-element-behavior.html"
|
||||
],
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
],
|
||||
"description": "Enables a custom element to be included in an iron-form",
|
||||
"keywords": [
|
||||
"web-components",
|
||||
|
@ -26,11 +30,11 @@
|
|||
"paper-styles": "PolymerElements/paper-styles#^1.0.0"
|
||||
},
|
||||
"homepage": "https://github.com/PolymerElements/iron-form-element-behavior",
|
||||
"_release": "1.0.3",
|
||||
"_release": "1.0.4",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.3",
|
||||
"commit": "a55bc86f6f4fcba1d1c08d6bfaa26ba145ce3112"
|
||||
"tag": "v1.0.4",
|
||||
"commit": "d5b296d63fa65cc3870c50801e37ffc08fe2d5e3"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/iron-form-element-behavior.git",
|
||||
"_target": "^1.0.0",
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
{
|
||||
"name": "iron-form-element-behavior",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"license": "http://polymer.github.io/LICENSE.txt",
|
||||
"private": true,
|
||||
"main": "iron-form-element-behavior.html",
|
||||
"authors": "The Polymer Authors",
|
||||
"main": [
|
||||
"iron-form-element-behavior.html"
|
||||
],
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
],
|
||||
"description": "Enables a custom element to be included in an iron-form",
|
||||
"keywords": [
|
||||
"web-components",
|
||||
|
|
|
@ -10,16 +10,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
<link rel="import" href="../polymer/polymer.html">
|
||||
|
||||
<!--
|
||||
Enables a custom element to be included in an `iron-form`.
|
||||
-->
|
||||
<script>
|
||||
|
||||
/**
|
||||
Polymer.IronFormElementBehavior enables a custom element to be included
|
||||
in an `iron-form`.
|
||||
|
||||
@demo demo/index.html
|
||||
@polymerBehavior
|
||||
|
||||
*/
|
||||
Polymer.IronFormElementBehavior = {
|
||||
|
||||
|
@ -51,6 +48,19 @@ Enables a custom element to be included in an `iron-form`.
|
|||
type: String
|
||||
},
|
||||
|
||||
/**
|
||||
* Set to true to mark the input as required. If used in a form, a
|
||||
* custom element that uses this behavior should also use
|
||||
* Polymer.IronValidatableBehavior and define a custom validation method.
|
||||
* Otherwise, a `required` element will always be considered valid.
|
||||
* It's also strongly recomended to provide a visual style for the element
|
||||
* when it's value is invalid.
|
||||
*/
|
||||
required: {
|
||||
type: Boolean,
|
||||
value: false
|
||||
},
|
||||
|
||||
/**
|
||||
* The form that the element is registered to.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue