MCPcopy Create free account
hub / github.com/testing-library/user-event / constructor

Method constructor

tests/keyboard/index.ts:181–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179 'focusable-custom-element',
180 class FocusableCustomElement extends HTMLElement {
181 constructor() {
182 super()
183 this.attachShadow({mode: 'open'})
184 }
185
186 connectedCallback() {
187 if (!this.hasAttribute('tabindex')) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected