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

Method _getTogglePosition

src/material/list/list-option.ts:262–264  ·  view source on GitHub ↗

Gets the current position of the checkbox/radio.

()

Source from the content-addressed store, hash-verified

260
261 /** Gets the current position of the checkbox/radio. */
262 _getTogglePosition() {
263 return this.togglePosition || 'after';
264 }
265
266 /**
267 * Sets the selected state of the option.

Callers 3

_hasCheckboxAtMethod · 0.95
_hasRadioAtMethod · 0.95
_hasProjectedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected