OLD | NEW |
1 | 1 |
2 /** | 2 /** |
3 `iron-selector` is an element which can be used to manage a list of elements | 3 `iron-selector` is an element which can be used to manage a list of elements |
4 that can be selected. Tapping on the item will make the item selected. The `
selected` indicates | 4 that can be selected. Tapping on the item will make the item selected. The `
selected` indicates |
5 which item is being selected. The default is to use the index of the item. | 5 which item is being selected. The default is to use the index of the item. |
6 | 6 |
7 Example: | 7 Example: |
8 | 8 |
9 <iron-selector selected="0"> | 9 <iron-selector selected="0"> |
10 <div>Item 1</div> | 10 <div>Item 1</div> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 Polymer({ | 48 Polymer({ |
49 | 49 |
50 is: 'iron-selector', | 50 is: 'iron-selector', |
51 | 51 |
52 behaviors: [ | 52 behaviors: [ |
53 Polymer.IronMultiSelectableBehavior | 53 Polymer.IronMultiSelectableBehavior |
54 ] | 54 ] |
55 | 55 |
56 }); | 56 }); |
57 | 57 |
OLD | NEW |