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: bower_components/paper-item/paper-item.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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 | « bower_components/paper-item/paper-item.css ('k') | bower_components/paper-menu-button/.bower.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bower_components/paper-item/paper-item.html
diff --git a/bower_components/paper-item/paper-item.html b/bower_components/paper-item/paper-item.html
deleted file mode 100644
index bd2074b687e61cd7f67acae54e34854d21b9b279..0000000000000000000000000000000000000000
--- a/bower_components/paper-item/paper-item.html
+++ /dev/null
@@ -1,104 +0,0 @@
-<!--
-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
--->
-
-<!--
-@group Paper Elements
-
-`paper-item` is a list-item object for use in menus. It may contain and icon and/or
-a text label.
-
-Example:
-
- <core-menu>
- <paper-item icon="refresh" label="Refresh"></paper-item>
- <paper-item label="Help"></paper-item>
- <paper-item label="Sign Out"></paper-item>
- </core-menu>
-
-To use as a link, put an `<a>` element in the item.
-
-Example:
-
- <paper-item icon="home" label="Home">
- <a href="http://www.polymer-project.org"></a>
- </paper-item>
-
-@class paper-item
--->
-
-<link href="../polymer/polymer.html" rel="import">
-<link href="../core-icon/core-icon.html" rel="import">
-<link href="../paper-ripple/paper-ripple.html" rel="import">
-
-<link href="paper-item.css" rel="stylesheet" shim-shadowdom>
-
-<polymer-element name="paper-item" attributes="label iconSrc icon" center horizontal layout>
-
- <template>
-
- <paper-ripple id="ripple"></paper-ripple>
-
- <core-icon id="icon" hidden?="{{!iconSrc && !icon}}" src="{{iconSrc}}" icon="{{icon}}"></core-icon>
- <div id="label">{{label}}</div>
- <content></content>
- </template>
-
- <script>
- Polymer('paper-item', {
-
- publish: {
-
- /**
- * The label for the item.
- *
- * @attribute label
- * @type string
- * @default ''
- */
- label: '',
-
- /**
- * (optional) The URL of an image for an icon to use in the button.
- * Should not use `icon` property if you are using this property.
- *
- * @attribute iconSrc
- * @type string
- * @default ''
- */
- iconSrc: '',
-
- /**
- * (optional) Specifies the icon name or index in the set of icons
- * available in the icon set. If using this property, load the icon
- * set separately where the icon is used. Should not use `src`
- * if you are using this property.
- *
- * @attribute icon
- * @type string
- * @default ''
- */
- icon: ''
-
- },
-
- eventDelegates: {
- 'down': 'downAction',
- 'up': 'upAction'
- },
-
- downAction: function(e) {
- this.$.ripple.downAction(e);
- },
-
- upAction: function(e) {
- this.$.ripple.upAction(e);
- }
- });
- </script>
-</polymer-element>
« no previous file with comments | « bower_components/paper-item/paper-item.css ('k') | bower_components/paper-menu-button/.bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698