Add an exponential backoff to rechecking the app list doodle.
[chromium-blink-merge.git] / third_party / polymer / components-chromium / core-menu / demo.html
blob76ea546cfce1ed5e5de1955b1c0efa188b9131e3
1 <!doctype html>
2 <!--
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.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/CONTRIBUTORS.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/PATENTS.txt
9 -->
10 <html>
11 <head>
13 <title>core-menu</title>
15 <script src="../webcomponentsjs/webcomponents.js"></script>
17 <link rel="import" href="../core-icons/core-icons.html">
18 <link rel="import" href="core-menu.html">
19 <link rel="import" href="core-submenu.html">
20 <link rel="import" href="../core-item/core-item.html">
22 <style>
24 body {
25 font-family: sans-serif;
26 margin: 20px;
29 section {
30 width: 300px;
33 .dark {
34 background-color: #333;
37 .dark core-item {
38 color: #fafafa;
39 fill: #fafafa;
42 </style>
44 </head>
45 <body>
47 <h2>simple menu:</h2>
49 <section>
51 <core-menu selected="0">
53 <core-item icon="settings" label="Settings"></core-item>
54 <core-item icon="favorite" label="Favorite"></core-item>
55 <core-item icon="account-box" label="Account"></core-item>
57 </core-menu>
59 </section>
61 <h2>simple menu:</h2>
63 <section class="dark">
65 <core-menu selected="0">
67 <core-item icon="settings" label="Settings"></core-item>
68 <core-item icon="favorite" label="Favorite"></core-item>
69 <core-item icon="account-box" label="Account"></core-item>
71 </core-menu>
73 </section>
75 <h2>submenu:</h2>
77 <section>
79 <core-menu selected="0">
81 <core-submenu icon="settings" label="Topics">
83 <core-item label="Topic 1"></core-item>
84 <core-item label="Topic 2"></core-item>
86 </core-submenu>
88 <core-submenu icon="settings" label="Favorites">
90 <core-item label="Favorite 1"></core-item>
91 <core-item label="Favorite 2"></core-item>
92 <core-item label="Favorite 3"></core-item>
94 </core-submenu>
96 </core-menu>
98 </section>
100 </body>
101 </html>