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

Side by Side Diff: lib/iron_range_behavior.dart

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month 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
« no previous file with comments | « lib/iron_overlay_behavior.dart ('k') | lib/iron_selectable.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update` 1 // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 2
3 /// Dart API for the polymer element `iron_range_behavior`. 3 /// Dart API for the polymer element `iron_range_behavior`.
4 @HtmlImport('iron_range_behavior_nodart.html') 4 @HtmlImport('iron_range_behavior_nodart.html')
5 library polymer_elements.lib.src.iron_range_behavior.iron_range_behavior; 5 library polymer_elements.lib.src.iron_range_behavior.iron_range_behavior;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 import 'dart:js' show JsArray, JsObject; 8 import 'dart:js' show JsArray, JsObject;
9 import 'package:web_components/web_components.dart'; 9 import 'package:web_components/web_components.dart';
10 import 'package:polymer_interop/polymer_interop.dart'; 10 import 'package:polymer_interop/polymer_interop.dart';
(...skipping 12 matching lines...) Expand all
23 23
24 /// Returns the ratio of the value. 24 /// Returns the ratio of the value.
25 num get ratio => jsElement[r'ratio']; 25 num get ratio => jsElement[r'ratio'];
26 set ratio(num value) { jsElement[r'ratio'] = value; } 26 set ratio(num value) { jsElement[r'ratio'] = value; }
27 27
28 /// Specifies the value granularity of the range's value. 28 /// Specifies the value granularity of the range's value.
29 num get step => jsElement[r'step']; 29 num get step => jsElement[r'step'];
30 set step(num value) { jsElement[r'step'] = value; } 30 set step(num value) { jsElement[r'step'] = value; }
31 31
32 /// The number that represents the current value. 32 /// The number that represents the current value.
33 num get value => jsElement[r'value']; 33 get value => jsElement[r'value'];
34 set value(num value) { jsElement[r'value'] = value; } 34 set value(value) { jsElement[r'value'] = (value is Map || (value is Iterable & & value is! JsArray)) ? new JsObject.jsify(value) : value;}
35 } 35 }
OLDNEW
« no previous file with comments | « lib/iron_overlay_behavior.dart ('k') | lib/iron_selectable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698