Changes between Initial Version and Version 1 of Ticket #15213
- Timestamp:
- Jun 28, 2017, 11:06:49 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15213 – Description
initial v1 9 9 https://github.com/jquery/jquery-ui/blob/master/ui/widgets/resizable.js#L1036-L1042 10 10 11 ```js11 {{{#!js 12 12 $( o.alsoResize ).each( function() { 13 13 var el = $( this ); … … 17 17 } ); 18 18 } ); 19 ``` 19 }}} 20 20 21 21 https://github.com/jquery/jquery-ui/blob/master/ui/widgets/resizable.js#L1057-L1071 22 22 23 ```js23 {{{#!js 24 24 $( o.alsoResize ).each( function() { 25 25 var el = $( this ), start = $( this ).data( "ui-resizable-alsoresize" ), style = {}, … … 37 37 el.css( style ); 38 38 } ); 39 40 ``` 39 }}} 41 40 42 41 jQuery method `width/height` get the content width/height do not include padding, so we should use `outerWidth/outerHeight`