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

Unified Diff: lib/paper_fab.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_dropdown_menu_nodart.html ('k') | lib/paper_fab.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/paper_fab.dart
diff --git a/lib/paper_fab.dart b/lib/paper_fab.dart
index 0625760fa41ff7ffbb675431056b0f2a49150970..e3757ec7db10a80eeb89cc14676f3c8233f9db90 100644
--- a/lib/paper_fab.dart
+++ b/lib/paper_fab.dart
@@ -12,14 +12,15 @@ import 'paper_button_behavior.dart';
import 'iron_button_state.dart';
import 'iron_a11y_keys_behavior.dart';
import 'iron_control_state.dart';
-import 'iron_icon.dart';
+import 'paper_ripple_behavior.dart';
import 'iron_flex_layout/classes/iron_flex_layout.dart';
-import 'default_theme.dart';
-import 'color.dart';
+import 'iron_icon.dart';
import 'paper_material.dart';
import 'paper_ripple.dart';
+import 'color.dart';
+import 'default_theme.dart';
-/// Material Design: <a href="http://www.google.com/design/spec/components/buttons.html">Button</a>
+/// Material design: [Floating Action Button](https://www.google.com/design/spec/components/buttons-floating-action-button.html)
///
/// `paper-fab` is a floating action button. It contains an image placed in the center and
/// comes in two sizes: regular size and a smaller size by applying the attribute `mini`. When
@@ -50,8 +51,9 @@ import 'paper_ripple.dart';
/// `--paper-fab` | Mixin applied to the button | `{}`
/// `--paper-fab-mini` | Mixin applied to a mini button | `{}`
/// `--paper-fab-disabled` | Mixin applied to a disabled button | `{}`
+/// `--paper-fab-iron-icon` | Mixin applied to the iron-icon within the button | `{}`
@CustomElementProxy('paper-fab')
-class PaperFab extends HtmlElement with CustomElementProxyMixin, PolymerBase, IronA11yKeysBehavior, IronButtonState, IronControlState, PaperButtonBehavior {
+class PaperFab extends HtmlElement with CustomElementProxyMixin, PolymerBase, IronA11yKeysBehavior, IronButtonState, IronControlState, PaperRippleBehavior, PaperButtonBehavior {
PaperFab.created() : super.created();
factory PaperFab() => new Element.tag('paper-fab');
« no previous file with comments | « lib/paper_dropdown_menu_nodart.html ('k') | lib/paper_fab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698