MCPcopy
hub / github.com/Choices-js/Choices / focus

Method focus

src/scripts/components/input.ts:88–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 }
87
88 focus(): void {
89 if (!this.isFocussed) {
90 this.element.focus();
91 }
92 }
93
94 blur(): void {
95 if (this.isFocussed) {

Calls

no outgoing calls

Tested by

no test coverage detected