OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.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/CONTRI
BUTORS.txt | 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
6 Code distributed by Google as part of the polymer project is also | 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/PATEN
TS.txt | 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
8 --> | 8 --> |
9 | 9 |
10 <!-- | 10 <!-- |
(...skipping 20 matching lines...) Expand all Loading... |
31 Example: | 31 Example: |
32 | 32 |
33 <div vertical layout> | 33 <div vertical layout> |
34 <div>top</div> | 34 <div>top</div> |
35 <core-splitter direction="up"></core-splitter> | 35 <core-splitter direction="up"></core-splitter> |
36 <div flex>bottom</div> | 36 <div flex>bottom</div> |
37 </div> | 37 </div> |
38 | 38 |
39 @group Polymer Core Elements | 39 @group Polymer Core Elements |
40 @element core-splitter | 40 @element core-splitter |
| 41 @mixins Polymer.CoreResizer https://github.com/polymer/core-resizable |
41 @homepage github.io | 42 @homepage github.io |
42 --> | 43 --> |
43 | 44 |
44 <link rel="import" href="../polymer/polymer.html"> | 45 <link rel="import" href="../polymer/polymer.html"> |
45 <link rel="import" href="../core-resizable/core-resizable.html"> | 46 <link rel="import" href="../core-resizable/core-resizable.html"> |
46 | 47 |
47 <polymer-element name="core-splitter" attributes="direction locked minSize allow
Overflow" | 48 <polymer-element name="core-splitter" attributes="direction locked minSize allow
Overflow" |
48 on-trackstart="{{trackStart}}" on-track="{{track}}" on-down="{{preventSelect
ion}}"> | 49 on-trackstart="{{trackStart}}" on-track="{{track}}" on-down="{{preventSelect
ion}}"> |
49 | 50 |
50 <template> | 51 <template> |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 }, | 154 }, |
154 | 155 |
155 preventSelection: function(e) { | 156 preventSelection: function(e) { |
156 e.preventDefault(); | 157 e.preventDefault(); |
157 } | 158 } |
158 | 159 |
159 }, Polymer.CoreResizer)); | 160 }, Polymer.CoreResizer)); |
160 | 161 |
161 </script> | 162 </script> |
162 </polymer-element> | 163 </polymer-element> |
OLD | NEW |