update translations

This commit is contained in:
Luke Pulverenti 2015-07-08 20:20:01 -04:00
parent 8030454e19
commit 22586c7a8f
41 changed files with 17432 additions and 17417 deletions

View file

@ -15,15 +15,26 @@ Enables a custom element to be included in an `iron-form`.
-->
<script>
/**
/**
@demo demo/index.html
@polymerBehavior
@polymerBehavior
*/
Polymer.IronFormElementBehavior = {
properties: {
/**
* Fired when the element is added to an `iron-form`.
*
* @event iron-form-element-register
*/
/**
* Fired when the element is removed from an `iron-form`.
*
* @event iron-form-element-unregister
*/
/**
* The name of this element.
@ -39,10 +50,25 @@ Enables a custom element to be included in an `iron-form`.
notify: true,
type: String
},
/**
* Need to keep a reference to the form this element is registered
* to, so that it can unregister if detached.
*/
_parentForm: {
type: Object
}
},
attached: function() {
this._parentForm = Polymer.dom(this).parentNode;
this.fire('iron-form-element-register');
},
detached: function() {
if (this._parentForm) {
this._parentForm.fire('iron-form-element-unregister', {target: this});
}
}
};