3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
12 <title>core-splitter</title>
14 <script src="../platform/platform.js"></script>
16 <link rel="import" href="core-splitter.html">
21 -webkit-user-select: none;
22 -moz-user-select: none;
23 -webkit-tap-highlight-color: rgba(0,0,0,0);
30 border: 4px solid #aaa;
33 #box1, #box3, #box5, #box6 {
45 <div class="container" horizontal layout>
47 <core-splitter direction="left" minSize="128"></core-splitter>
53 <div class="container" vertical layout>
54 <div id="box2">top</div>
55 <core-splitter direction="up"></core-splitter>
56 <div flex>bottom</div>
61 <div class="container" horizontal layout>
62 <div id="box3">1</div>
63 <core-splitter direction="left"></core-splitter>
64 <div flex vertical layout>
65 <div id="box4">2</div>
66 <core-splitter direction="up"></core-splitter>
73 <div class="container" horizontal layout>
74 <div id="box5">left</div>
75 <core-splitter direction="left"></core-splitter>
76 <div flex>center</div>
77 <core-splitter direction="right"></core-splitter>
78 <div id="box6">right</div>