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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-form/iron-form-extracted.js

Issue 1155683008: Rename polymer and cr_elements v0_8 to v1_0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v1
Patch Set: fix a merge mistake Created 5 years, 6 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 /* 2 /*
3 ``<iron-form>` is an HTML `<form>` element that can validate and submit any cust om 3 ``<iron-form>` is an HTML `<form>` element that can validate and submit any cust om
4 elements that implement `Polymer.IronFormElementBehavior`, as well as any 4 elements that implement `Polymer.IronFormElementBehavior`, as well as any
5 native HTML elements. 5 native HTML elements.
6 6
7 It supports both `get` and `post` methods, and uses an `iron-ajax` element to 7 It supports both `get` and `post` methods, and uses an `iron-ajax` element to
8 submit the form data to the action URL. 8 submit the form data to the action URL.
9 9
10 Example: 10 Example:
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // Checkboxes and radio buttons should only use their value if they're che cked. 168 // Checkboxes and radio buttons should only use their value if they're che cked.
169 if (el.type !== 'checkbox' && el.type !== 'radio') { 169 if (el.type !== 'checkbox' && el.type !== 'radio') {
170 return true; 170 return true;
171 } else { 171 } else {
172 return el.checked; 172 return el.checked;
173 } 173 }
174 } 174 }
175 175
176 }); 176 });
177 177
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698