1<!--
2@license
3Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7Code distributed by Google as part of the polymer project is also
8subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9-->
10
11<link rel="import" href="../polymer/polymer.html">
12<link rel="import" href="../iron-behaviors/iron-button-state.html">
13<link rel="import" href="../iron-behaviors/iron-control-state.html">
14
15<!--
16`PaperItemBehavior` is a convenience behavior shared by <paper-item> and
17<paper-icon-item> that manages the shared control states and attributes of
18the items.
19-->
20
21<script>
22  /** @polymerBehavior Polymer.PaperItemBehavior */
23  Polymer.PaperItemBehaviorImpl = {
24    hostAttributes: {
25      role: 'option',
26      tabindex: '0'
27    }
28  };
29
30  /** @polymerBehavior */
31  Polymer.PaperItemBehavior = [
32    Polymer.IronButtonState,
33    Polymer.IronControlState,
34    Polymer.PaperItemBehaviorImpl
35  ];
36</script>
37