(from: number, to: number)
| 662 | } |
| 663 | |
| 664 | public moveView(from: number, to: number): void { |
| 665 | const cachedVisibleSize = this.getViewCachedVisibleSize(from); |
| 666 | const sizing = |
| 667 | typeof cachedVisibleSize === 'undefined' |
| 668 | ? this.getViewSize(from) |
| 669 | : Sizing.Invisible(cachedVisibleSize); |
| 670 | const view = this.removeView(from, undefined, true); |
| 671 | this.addView(view, sizing, to); |
| 672 | } |
| 673 | |
| 674 | public layout(size: number, orthogonalSize: number): void { |
| 675 | const previousSize = Math.max(this.size, this._contentSize); |
no test coverage detected