Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-checked-element-behavior/iron-checked-element-behavior-extracted.js

Issue 1401633002: Update Polymer from 1.1.4 -> 1.1.5 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dzhioev@ review Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 1 /**
2
3 /**
4 * Use `Polymer.IronCheckedElementBehavior` to implement a custom element 2 * Use `Polymer.IronCheckedElementBehavior` to implement a custom element
5 * that has a `checked` property, which can be used for validation if the 3 * that has a `checked` property, which can be used for validation if the
6 * element is also `required`. Element instances implementing this behavior 4 * element is also `required`. Element instances implementing this behavior
7 * will also be registered for use in an `iron-form` element. 5 * will also be registered for use in an `iron-form` element.
8 * 6 *
9 * @demo demo/index.html 7 * @demo demo/index.html
10 * @polymerBehavior Polymer.IronCheckedElementBehavior 8 * @polymerBehavior Polymer.IronCheckedElementBehavior
11 */ 9 */
12 Polymer.IronCheckedElementBehaviorImpl = { 10 Polymer.IronCheckedElementBehaviorImpl = {
13 11
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 this.value = this.checked ? 'on' : ''; 78 this.value = this.checked ? 'on' : '';
81 this.fire('iron-change'); 79 this.fire('iron-change');
82 } 80 }
83 }; 81 };
84 82
85 /** @polymerBehavior Polymer.IronCheckedElementBehavior */ 83 /** @polymerBehavior Polymer.IronCheckedElementBehavior */
86 Polymer.IronCheckedElementBehavior = [ 84 Polymer.IronCheckedElementBehavior = [
87 Polymer.IronFormElementBehavior, 85 Polymer.IronFormElementBehavior,
88 Polymer.IronValidatableBehavior, 86 Polymer.IronValidatableBehavior,
89 Polymer.IronCheckedElementBehaviorImpl 87 Polymer.IronCheckedElementBehaviorImpl
90 ]; 88 ];
91
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698