Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ _simulateAnimation
Method
_simulateAnimation
src/material/sidenav/drawer.ts:644–649 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
642
}
643
644
private _simulateAnimation() {
645
setTimeout(() => {
646
this._animationStarted.next();
647
this._animationEnd.next();
648
});
649
}
650
651
_getWidth(): number {
652
return
this._elementRef.nativeElement.offsetWidth || 0;
Callers
1
_setOpen
Method · 0.95
Calls
1
next
Method · 0.45
Tested by
no test coverage detected