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

Unified Diff: third_party/polymer/components/paper-fab/paper-fab.html

Issue 582873003: Polymer elements added to third_party/polymer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: third_party/polymer/components/paper-fab/paper-fab.html
diff --git a/third_party/polymer/components/paper-fab/paper-fab.html b/third_party/polymer/components/paper-fab/paper-fab.html
new file mode 100644
index 0000000000000000000000000000000000000000..fb110d92791d55185a7cc3f1e9f848c600978401
--- /dev/null
+++ b/third_party/polymer/components/paper-fab/paper-fab.html
@@ -0,0 +1,56 @@
+<!--
+Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
+This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
+The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
+The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
+Code distributed by Google as part of the polymer project is also
+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
+-->
+
+<!--
+`<paper-fab>` is a floating action button with an icon. It comes in two sizes: regular
+size and a smaller size by applying the class `mini`.
+
+Example:
+
+ <paper-fab icon="favorite"></paper-fab>
+ <paper-fab class="mini"></paper-fab>
+
+@group Paper Elements
+@element paper-fab
+@homepage github.io
+@extends paper-icon-button
+-->
+
+<link href="../polymer/polymer.html" rel="import">
+<link href="../paper-icon-button/paper-icon-button.html" rel="import">
+
+<polymer-element name="paper-fab" extends="paper-icon-button">
+
+ <template>
+
+ <link href="paper-fab.css" rel="stylesheet">
+
+ <shadow></shadow>
+
+ </template>
+
+ <script>
+ Polymer('paper-fab', {
+
+ publish: {
+
+ /**
+ * See [`<paper-button>`](../paper-button).
+ *
+ * @attribute raisedButton
+ * @type boolean
+ * @default true
+ */
+ raisedButton: {value: true, reflect: true}
+
+ }
+
+ });
+ </script>
+</polymer-element>
« no previous file with comments | « third_party/polymer/components/paper-fab/paper-fab.css ('k') | third_party/polymer/components/paper-focusable/.bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698