Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ toggle
Method
toggle
src/cdk/listbox/listbox.ts:176–178 ·
view source on GitHub ↗
Toggle the selected state of this option.
()
Source
from the content-addressed store, hash-verified
174
175
/** Toggle the selected state of this option. */
176
toggle() {
177
this.listbox.toggle(this);
178
}
179
180
/** Select this option
if
it is not selected. */
181
select() {
Callers
nothing calls this directly
Calls
1
toggle
Method · 0.65
Tested by
no test coverage detected