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

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

Issue 1351623008: MD Settings: Languages model for language pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SingletonPrefs
Patch Set: Created 5 years, 3 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 /**
2 * Use `Polymer.IronCheckedElementBehavior` to implement a custom element 4 * Use `Polymer.IronCheckedElementBehavior` to implement a custom element
3 * that has a `checked` property, which can be used for validation if the 5 * that has a `checked` property, which can be used for validation if the
4 * element is also `required`. Element instances implementing this behavior 6 * element is also `required`. Element instances implementing this behavior
5 * will also be registered for use in an `iron-form` element. 7 * will also be registered for use in an `iron-form` element.
6 * 8 *
7 * @demo demo/index.html 9 * @demo demo/index.html
8 * @polymerBehavior Polymer.IronCheckedElementBehavior 10 * @polymerBehavior Polymer.IronCheckedElementBehavior
9 */ 11 */
10 Polymer.IronCheckedElementBehaviorImpl = { 12 Polymer.IronCheckedElementBehaviorImpl = {
11 13
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 this.value = this.checked ? 'on' : ''; 80 this.value = this.checked ? 'on' : '';
79 this.fire('iron-change'); 81 this.fire('iron-change');
80 } 82 }
81 }; 83 };
82 84
83 /** @polymerBehavior Polymer.IronCheckedElementBehavior */ 85 /** @polymerBehavior Polymer.IronCheckedElementBehavior */
84 Polymer.IronCheckedElementBehavior = [ 86 Polymer.IronCheckedElementBehavior = [
85 Polymer.IronFormElementBehavior, 87 Polymer.IronFormElementBehavior,
86 Polymer.IronValidatableBehavior, 88 Polymer.IronValidatableBehavior,
87 Polymer.IronCheckedElementBehaviorImpl 89 Polymer.IronCheckedElementBehaviorImpl
88 ]; 90 ];
91
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698