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

Method toggleOne

src/aria/private/behaviors/tree/tree.ts:237–239  ·  view source on GitHub ↗

Toggles the currently active item in the tree, deselecting all other items.

()

Source from the content-addressed store, hash-verified

235
236 /** Toggles the currently active item in the tree, deselecting all other items. */
237 toggleOne() {
238 this.selectionBehavior.toggleOne();
239 }
240
241 /** Toggles the selection of all items in the tree. */
242 toggleAll() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected