Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/components
/ toggle
Method
toggle
src/cdk/menu/menu-trigger.ts:110–112 ·
view source on GitHub ↗
Toggle the attached menu.
()
Source
from the content-addressed store, hash-verified
108
109
/** Toggle the attached menu. */
110
toggle() {
111
this.isOpen() ? this.close() : this.open();
112
}
113
114
/** Open the attached menu. */
115
open() {
Callers
2
_toggleOnKeydown
Method · 0.95
_handleClick
Method · 0.95
Calls
3
close
Method · 0.95
open
Method · 0.95
isOpen
Method · 0.45
Tested by
no test coverage detected