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

Method setFocus

core/src/components/app/app.tsx:82–86  ·  view source on GitHub ↗
(elements: HTMLElement[])

Source from the content-addressed store, hash-verified

80 */
81 @Method()
82 async setFocus(elements: HTMLElement[]) {
83 if (this.focusVisible) {
84 this.focusVisible.setFocus(elements);
85 }
86 }
87
88 private rIC(callback: () => void) {
89 if ('requestIdleCallback' in window) {

Callers 2

focusElementInContextFunction · 0.45
focusVisibleElementFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected