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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/paper-checkbox/paper-checkbox-extracted.js

Issue 1128233007: Rerun reproduce to pick up a fix in a new version of paper-checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 Polymer({ 2 Polymer({
3 is: 'paper-checkbox', 3 is: 'paper-checkbox',
4 4
5 // The custom properties shim is currently an opt-in feature. 5 // The custom properties shim is currently an opt-in feature.
6 enableCustomStyleProperties: true, 6 enableCustomStyleProperties: true,
7 7
8 behaviors: [ 8 behaviors: [
9 Polymer.PaperRadioButtonBehavior 9 Polymer.PaperRadioButtonBehavior
10 ], 10 ],
(...skipping 21 matching lines...) Expand all
32 * Gets or sets the state, `true` is checked and `false` is unchecked. 32 * Gets or sets the state, `true` is checked and `false` is unchecked.
33 * 33 *
34 * @attribute checked 34 * @attribute checked
35 * @type boolean 35 * @type boolean
36 * @default false 36 * @default false
37 */ 37 */
38 checked: { 38 checked: {
39 type: Boolean, 39 type: Boolean,
40 value: false, 40 value: false,
41 reflectToAttribute: true, 41 reflectToAttribute: true,
42 notify: true,
42 observer: '_checkedChanged' 43 observer: '_checkedChanged'
43 }, 44 },
44 45
45 /** 46 /**
46 * If true, the user cannot interact with this element. 47 * If true, the user cannot interact with this element.
47 * 48 *
48 * @attribute disabled 49 * @attribute disabled
49 * @type boolean 50 * @type boolean
50 * @default false 51 * @default false
51 */ 52 */
(...skipping 28 matching lines...) Expand all
80 return 'checked'; 81 return 'checked';
81 } 82 }
82 }, 83 },
83 84
84 _computeCheckmarkClass: function(checked) { 85 _computeCheckmarkClass: function(checked) {
85 if (!checked) { 86 if (!checked) {
86 return 'hidden'; 87 return 'hidden';
87 } 88 }
88 } 89 }
89 }) 90 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698