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

Unified Diff: bower_components/core-menu/core-menu.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/core-menu/core-menu.css ('k') | bower_components/core-menu/core-submenu.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bower_components/core-menu/core-menu.html
diff --git a/bower_components/core-menu/core-menu.html b/bower_components/core-menu/core-menu.html
deleted file mode 100644
index a3286c90fd131c5f4b3b87c26f374cc420fd89af..0000000000000000000000000000000000000000
--- a/bower_components/core-menu/core-menu.html
+++ /dev/null
@@ -1,68 +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
--->
-
-<!--
-`core-menu` is a selector which styles to looks like a menu.
-
- <core-menu selected="0">
- <core-item icon="settings" label="Settings"></core-item>
- <core-item icon="dialog" label="Dialog"></core-item>
- <core-item icon="search" label="Search"></core-item>
- </core-menu>
-
-When an item is selected the `core-selected` class is added to it. The user can
-use the class to add more stylings to the selected item.
-
- core-item.core-selected {
- color: red;
- }
-
-The `selectedItem` property references the selected item.
-
- <core-menu selected="0" selectedItem="{{item}}">
- <core-item icon="settings" label="Settings"></core-item>
- <core-item icon="dialog" label="Dialog"></core-item>
- <core-item icon="search" label="Search"></core-item>
- </core-menu>
-
- <div>selected label: {{item.label}}</div>
-
-The `core-select` event signals selection change.
-
- <core-menu selected="0" on-core-select="{{selectAction}}">
- <core-item icon="settings" label="Settings"></core-item>
- <core-item icon="dialog" label="Dialog"></core-item>
- <core-item icon="search" label="Search"></core-item>
- </core-menu>
-
- ...
-
- selectAction: function(e, detail) {
- if (detail.isSelected) {
- var selectedItem = detail.item;
- ...
- }
- }
-
-@group Polymer Core Elements
-@element core-menu
-@extends core-selector
--->
-
-<link rel="import" href="../core-selector/core-selector.html">
-
-<polymer-element name="core-menu" extends="core-selector" noscript>
-<template>
-
- <link rel="stylesheet" href="core-menu.css">
-
- <shadow></shadow>
-
-</template>
-</polymer-element>
« no previous file with comments | « bower_components/core-menu/core-menu.css ('k') | bower_components/core-menu/core-submenu.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698