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

Side by Side Diff: polymer_0.5.4/bower_components/core-menu/core-submenu.html

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE 3 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS
5 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS
6 Code distributed by Google as part of the polymer project is also 6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS
8 --> 8 -->
9 9
10 <!-- 10 <!--
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 @group Polymer Core Elements 55 @group Polymer Core Elements
56 @element core-submenu 56 @element core-submenu
57 @extends core-item 57 @extends core-item
58 --> 58 -->
59 59
60 <link rel="import" href="../core-item/core-item.html"> 60 <link rel="import" href="../core-item/core-item.html">
61 <link rel="import" href="../core-menu/core-menu.html"> 61 <link rel="import" href="../core-menu/core-menu.html">
62 <link rel="import" href="../core-collapse/core-collapse.html"> 62 <link rel="import" href="../core-collapse/core-collapse.html">
63 63
64 <polymer-element name="core-submenu" attributes="selected selectedItem label ico n src valueattr"> 64 <polymer-element name="core-submenu" attributes="selected selectedItem selectedA ttribute label icon src valueattr">
65 <template> 65 <template>
66 66
67 <link rel="stylesheet" href="core-submenu.css"> 67 <link rel="stylesheet" href="core-submenu.css">
68 68
69 <core-item id="submenuItem" src="{{src}}" label="{{label}}" icon="{{icon}}" cl ass="{{ {'core-selected' : active} | tokenList}}" on-tap="{{activate}}"> 69 <core-item id="submenuItem" src="{{src}}" label="{{label}}" icon="{{icon}}" cl ass="{{ {'core-selected' : active} | tokenList}}" on-tap="{{activate}}">
70 <content select=".item-content"></content> 70 <content select=".item-content"></content>
71 </core-item> 71 </core-item>
72 72
73 <core-menu id="submenu" selected="{{selected}}" selectedItem="{{selectedItem}} " valueattr="{{valueattr}}"> 73 <core-menu id="submenu" selected="{{selected}}" selectedItem="{{selectedItem}} " selectedAttribute="{{selectedAttribute}}" valueattr="{{valueattr}}">
74 <content></content> 74 <content></content>
75 </core-menu> 75 </core-menu>
76 76
77 <core-collapse target="{{$.submenu}}" opened="{{opened}}"></core-collapse> 77 <core-collapse target="{{$.submenu}}" opened="{{opened}}"></core-collapse>
78 78
79 </template> 79 </template>
80 <script> 80 <script>
81 81
82 Polymer('core-submenu', { 82 Polymer('core-submenu', {
83 83
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 if (this.hasItems() && this.active) { 117 if (this.hasItems() && this.active) {
118 this.toggle(); 118 this.toggle();
119 this.unselectAllItems(); 119 this.unselectAllItems();
120 } 120 }
121 } 121 }
122 122
123 }); 123 });
124 124
125 </script> 125 </script>
126 </polymer-element> 126 </polymer-element>
OLDNEW
« no previous file with comments | « polymer_0.5.4/bower_components/core-menu/core-submenu.css ('k') | polymer_0.5.4/bower_components/core-menu/demo.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698