| OLD | NEW |
| (Empty) | |
| 1 <!-- |
| 2 @license |
| 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
| 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
| 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 7 Code distributed by Google as part of the polymer project is also |
| 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 9 --> |
| 10 |
| 11 <link rel="import" href="../../polymer/polymer.html"> |
| 12 <link rel="import" href="../iron-menu-behavior.html"> |
| 13 |
| 14 <dom-module id="simple-menu"> |
| 15 |
| 16 <style> |
| 17 |
| 18 .content ::content > .iron-selected { |
| 19 color: red; |
| 20 } |
| 21 |
| 22 </style> |
| 23 |
| 24 <template> |
| 25 |
| 26 <div class="content"> |
| 27 <content></content> |
| 28 </div> |
| 29 |
| 30 </template> |
| 31 |
| 32 </dom-module> |
| 33 |
| 34 <script> |
| 35 |
| 36 (function() { |
| 37 |
| 38 Polymer({ |
| 39 |
| 40 is: 'simple-menu', |
| 41 |
| 42 behaviors: [ |
| 43 Polymer.IronMenuBehavior |
| 44 ] |
| 45 |
| 46 }); |
| 47 |
| 48 })(); |
| 49 |
| 50 </script> |
| OLD | NEW |