MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / toggleChecked

Method toggleChecked

core/src/components/toggle/toggle.tsx:167–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165 }
166
167 private toggleChecked() {
168 const { checked, value } = this;
169
170 const isNowChecked = !checked;
171 this.checked = isNowChecked;
172
173 this.ionChange.emit({
174 checked: isNowChecked,
175 value,
176 });
177 }
178
179 async connectedCallback() {
180 const { didLoad, el } = this;

Callers 3

onMoveMethod · 0.95
ToggleClass · 0.95
CheckboxClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected