* Completes collapse: ensures that the element is `display:none` and * updates layout box.
()
| 539 | * updates layout box. |
| 540 | */ |
| 541 | completeCollapse() { |
| 542 | toggle(this.element, false); |
| 543 | this.layoutBox_ = layoutRectLtwh( |
| 544 | this.layoutBox_.left, |
| 545 | this.layoutBox_.top, |
| 546 | 0, |
| 547 | 0 |
| 548 | ); |
| 549 | this.isFixed_ = false; |
| 550 | this.element.updateLayoutBox(this.getLayoutBox()); |
| 551 | const owner = this.getOwner(); |
| 552 | if (owner) { |
| 553 | owner.collapsedCallback(this.element); |
| 554 | } |
| 555 | } |
| 556 | |
| 557 | /** |
| 558 | * Completes expand: ensures that the element is not `display:none` and |
no test coverage detected