2 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
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/PATENTS.txt
11 <link rel=
"import" href=
"../polymer/polymer.html">
12 <link rel=
"import" href=
"iron-multi-selectable.html">
16 `iron-selector` is an element which can be used to manage a list of elements
17 that can be selected. Tapping on the item will make the item selected. The `selected` indicates
18 which item is being selected. The default is to use the index of the item.
22 <iron-selector selected="0">
28 If you want to use the attribute value of an element for `selected` instead of the index,
29 set `attrForSelected` to the name of the attribute. For example, if you want to select item by
30 `name`, set `attrForSelected` to `name`.
34 <iron-selector attr-for-selected="name" selected="foo">
35 <div name="foo">Foo</div>
36 <div name="bar">Bar</div>
37 <div name="zot">Zot</div>
40 `iron-selector` is not styled. Use the `iron-selected` CSS class to style the selected element.
52 <iron-selector selected="0">
66 Polymer
.IronMultiSelectableBehavior