| OLD | NEW |
| 1 <!-- Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 <!-- Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
| 4 | 4 |
| 5 <!-- | 5 <!-- |
| 6 Based on <polymer-ui-collapsible>, this widget expects a child element | 6 Based on <polymer-ui-collapsible>, this widget expects a child element |
| 7 that has class name "cr-collapsible-header" and will expand or collapse of | 7 that has class name "cr-collapsible-header" and will expand or collapse of |
| 8 the rest of the children when the header is tapped using animation. | 8 the rest of the children when the header is tapped using animation. |
| 9 | 9 |
| 10 ex. | 10 ex. |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 return; | 112 return; |
| 113 this.updateSize(this.computeBodySize()); | 113 this.updateSize(this.computeBodySize()); |
| 114 this.async(function() { | 114 this.async(function() { |
| 115 this.computeBodySize(); | 115 this.computeBodySize(); |
| 116 this.updateSize("0", true); | 116 this.updateSize("0", true); |
| 117 }); | 117 }); |
| 118 }, | 118 }, |
| 119 }); | 119 }); |
| 120 </script> | 120 </script> |
| 121 </polymer-element> | 121 </polymer-element> |
| OLD | NEW |