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

Method setFocus

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

Source from the content-addressed store, hash-verified

299 }
300
301 private setFocus() {
302 this.el.focus();
303 }
304
305 private onKeyDown = (ev: KeyboardEvent) => {
306 if (ev.key === ' ') {

Callers 1

onStartMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected