MCPcopy Create free account
hub / github.com/angular/components / _removeTabBodyWrapperHeight

Method _removeTabBodyWrapperHeight

src/material/tabs/tab-group.ts:544–549  ·  view source on GitHub ↗

Removes the height of the tab body wrapper.

()

Source from the content-addressed store, hash-verified

542
543 /** Removes the height of the tab body wrapper. */
544 _removeTabBodyWrapperHeight(): void {
545 const wrapper = this._tabBodyWrapper.nativeElement;
546 this._tabBodyWrapperHeight = wrapper.clientHeight;
547 wrapper.style.height = '';
548 this._ngZone.run(() => this.animationDone.emit());
549 }
550
551 /** Handle click events, setting new selected index if appropriate. */
552 _handleClick(tab: MatTab, tabHeader: MatTabGroupBaseHeader, index: number) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected