Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ toggle
Method
toggle
packages/core/test/acceptance/animation_spec.ts:3169–3175 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3167
private currentPane: HTMLElement | null = null;
3168
3169
toggle() {
3170
if
(this.opened) {
3171
this.close();
3172
}
else
{
3173
this.open();
3174
}
3175
}
3176
3177
open() {
3178
this.opened = true;
Callers
nothing calls this directly
Calls
2
close
Method · 0.95
open
Method · 0.95
Tested by
no test coverage detected