• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
13<link rel="import" href="../iron-overlay-behavior.html">
14
15<dom-module id="test-overlay2">
16  <template>
17    <style>
18      :host {
19        background: white;
20        color: black;
21        border: 1px solid black;
22      }
23    </style>
24
25    <button id="first">first</button>
26    <content></content>
27    <button id="last">last</button>
28  </template>
29
30</dom-module>
31
32<script>
33
34(function() {
35
36  Polymer({
37
38    is: 'test-overlay2',
39
40    behaviors: [
41      Polymer.IronOverlayBehavior
42    ],
43
44    get _focusableNodes() {
45      return [this.$.first, this.$.last];
46    }
47
48  });
49
50})();
51
52</script>
53