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

Method _transitionDone

src/material/tabs/tab-body.ts:260–266  ·  view source on GitHub ↗

Called when a transition is done.

()

Source from the content-addressed store, hash-verified

258
259 /** Called when a transition is done. */
260 private _transitionDone() {
261 if (this._position === 'center') {
262 this._onCentered.emit();
263 } else if (this._previousPosition === 'center') {
264 this._afterLeavingCenter.emit();
265 }
266 }
267
268 /** Sets the active styling on the tab body based on its current position. */
269 _setActiveClass(isActive: boolean) {

Callers 2

transitionDoneMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected