OLD | NEW |
1 | 1 |
2 <!--- | 2 <!--- |
3 | 3 |
4 This README is automatically generated from the comments in these files: | 4 This README is automatically generated from the comments in these files: |
5 paper-menu.html paper-submenu.html | 5 paper-menu.html paper-submenu.html |
6 | 6 |
7 Edit those files, and our readme bot will duplicate them over here! | 7 Edit those files, and our readme bot will duplicate them over here! |
8 Edit this file, and the bot will squash your changes :) | 8 Edit this file, and the bot will squash your changes :) |
9 | 9 |
10 --> | 10 --> |
(...skipping 17 matching lines...) Expand all Loading... |
28 </paper-menu> | 28 </paper-menu> |
29 | 29 |
30 An initial selection can be specified with the `selected` attribute. | 30 An initial selection can be specified with the `selected` attribute. |
31 | 31 |
32 <paper-menu selected="0"> | 32 <paper-menu selected="0"> |
33 <paper-item>Item 1</paper-item> | 33 <paper-item>Item 1</paper-item> |
34 <paper-item>Item 2</paper-item> | 34 <paper-item>Item 2</paper-item> |
35 </paper-menu> | 35 </paper-menu> |
36 | 36 |
37 Make a multi-select menu with the `multi` attribute. Items in a multi-select men
u can be deselected, | 37 Make a multi-select menu with the `multi` attribute. Items in a multi-select men
u can be deselected, |
38 and multiple item can be selected. | 38 and multiple items can be selected. |
39 | 39 |
40 <paper-menu multi> | 40 <paper-menu multi> |
41 <paper-item>Item 1</paper-item> | 41 <paper-item>Item 1</paper-item> |
42 <paper-item>Item 2</paper-item> | 42 <paper-item>Item 2</paper-item> |
43 </paper-menu> | 43 </paper-menu> |
44 | 44 |
45 ### Styling | 45 ### Styling |
46 | 46 |
47 The following custom properties and mixins are available for styling: | 47 The following custom properties and mixins are available for styling: |
48 | 48 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 </paper-menu> | 95 </paper-menu> |
96 </paper-submenu> | 96 </paper-submenu> |
97 </paper-menu> | 97 </paper-menu> |
98 | 98 |
99 Just like in `<paper-menu>`, the focused item is highlighted, and the selected | 99 Just like in `<paper-menu>`, the focused item is highlighted, and the selected |
100 item has bolded text. Please see the `<paper-menu>` docs for which attributes | 100 item has bolded text. Please see the `<paper-menu>` docs for which attributes |
101 (such as `multi` and `selected`), and styling options are available for the | 101 (such as `multi` and `selected`), and styling options are available for the |
102 `menu-content` menu. | 102 `menu-content` menu. |
103 | 103 |
104 | 104 |
OLD | NEW |