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

Unified Diff: lib/paper_slider.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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/paper_ripple_behavior_nodart.html ('k') | lib/paper_slider.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/paper_slider.dart
diff --git a/lib/paper_slider.dart b/lib/paper_slider.dart
index f09fdef541648d6e56083d0fb98f1437030ea170..e1f78dbaf33529aea44f81fcbca74f1e974e85c7 100644
--- a/lib/paper_slider.dart
+++ b/lib/paper_slider.dart
@@ -13,12 +13,16 @@ import 'paper_inky_focus_behavior.dart';
import 'iron_button_state.dart';
import 'iron_a11y_keys_behavior.dart';
import 'iron_control_state.dart';
+import 'paper_ripple_behavior.dart';
import 'iron_range_behavior.dart';
-import 'paper_styles.dart';
+import 'iron_flex_layout.dart';
+import 'color.dart';
import 'paper_progress.dart';
import 'paper_input.dart';
import 'paper_ripple.dart';
+/// Material design: [Sliders](https://www.google.com/design/spec/components/sliders.html)
+///
/// `paper-slider` allows user to select a value from a range of values by
/// moving the slider thumb. The interactive nature of the slider makes it a
/// great choice for settings that reflect intensity levels, such as volume,
@@ -54,7 +58,7 @@ import 'paper_ripple.dart';
/// `--paper-slider-pin-start-color` | The color of the pin at the far left | `#c8c8c8`
/// `--paper-slider-height` | Height of the progress bar | `2px`
@CustomElementProxy('paper-slider')
-class PaperSlider extends HtmlElement with CustomElementProxyMixin, PolymerBase, IronFormElementBehavior, IronA11yKeysBehavior, IronButtonState, IronControlState, PaperInkyFocusBehavior, IronRangeBehavior {
+class PaperSlider extends HtmlElement with CustomElementProxyMixin, PolymerBase, IronFormElementBehavior, IronA11yKeysBehavior, IronButtonState, IronControlState, PaperRippleBehavior, PaperInkyFocusBehavior, IronRangeBehavior {
PaperSlider.created() : super.created();
factory PaperSlider() => new Element.tag('paper-slider');
« no previous file with comments | « lib/paper_ripple_behavior_nodart.html ('k') | lib/paper_slider.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698