| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 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.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.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/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 7 Code distributed by Google as part of the polymer project is also | 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/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 9 --> | 9 --> |
| 10 <html> | 10 <html> |
| 11 <head> | 11 <head> |
| 12 <title>core-splitter</title> | 12 <title>core-splitter</title> |
| 13 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-
scale=1.0"> | 13 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-
scale=1.0"> |
| 14 | 14 |
| 15 <script src="../platform/platform.js"></script> | 15 <script src="../webcomponentsjs/webcomponents.js"></script> |
| 16 | 16 |
| 17 <link rel="import" href="core-splitter.html"> | 17 <link rel="import" href="core-splitter.html"> |
| 18 | 18 |
| 19 <style> | 19 <style> |
| 20 | 20 |
| 21 body { | |
| 22 margin: 24px; | |
| 23 } | |
| 24 | |
| 25 .container { | 21 .container { |
| 26 width: 400px; | 22 height: 240px; |
| 27 height: 200px; | |
| 28 border: 4px solid #aaa; | 23 border: 4px solid #aaa; |
| 29 } | 24 } |
| 30 | 25 |
| 31 #box1, #box3, #box5, #box6 { | 26 #box1, #box3, #box5, #box6 { |
| 32 width: 100px; | 27 width: 100px; |
| 33 } | 28 } |
| 34 | 29 |
| 35 #box2, #box4 { | 30 #box2, #box4 { |
| 36 height: 40px; | 31 height: 40px; |
| 37 } | 32 } |
| 38 | 33 |
| 39 </style> | 34 </style> |
| 40 | 35 |
| 41 </head> | 36 </head> |
| 42 <body unresolved> | 37 <body unresolved> |
| 38 |
| 43 <div class="container" horizontal layout> | 39 <div class="container" horizontal layout> |
| 44 <div>left</div> | 40 <div>left (min: 128px)</div> |
| 45 <core-splitter direction="left" minSize="128px"></core-splitter> | 41 <core-splitter direction="left" minSize="128px"></core-splitter> |
| 46 <div flex>right</div> | 42 <div flex>right</div> |
| 47 </div> | 43 </div> |
| 48 | 44 |
| 49 <br> | 45 <br> |
| 50 | 46 |
| 51 <div class="container" vertical layout> | 47 <div class="container" vertical layout> |
| 52 <div id="box2">top</div> | 48 <div id="box2">top</div> |
| 53 <core-splitter direction="up"></core-splitter> | 49 <core-splitter direction="up"></core-splitter> |
| 54 <div flex>bottom</div> | 50 <div flex>bottom</div> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 71 <div class="container" horizontal layout> | 67 <div class="container" horizontal layout> |
| 72 <div id="box5">left</div> | 68 <div id="box5">left</div> |
| 73 <core-splitter direction="left"></core-splitter> | 69 <core-splitter direction="left"></core-splitter> |
| 74 <div flex>center</div> | 70 <div flex>center</div> |
| 75 <core-splitter direction="right"></core-splitter> | 71 <core-splitter direction="right"></core-splitter> |
| 76 <div id="box6">right</div> | 72 <div id="box6">right</div> |
| 77 </div> | 73 </div> |
| 78 | 74 |
| 79 </body> | 75 </body> |
| 80 </html> | 76 </html> |
| OLD | NEW |