MCPcopy Create free account
hub / github.com/jquery-validation/jquery-validation / CustomTextElement

Class CustomTextElement

test/custom-elements.js:1–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class CustomTextElement extends HTMLElement {
2 static formAssociated = true;
3 static observedAttributes = ["name", "id"];
4
5 constructor() {
6 super();
7 this.internals_ = this.attachInternals();
8 }
9 get form() {
10 return this.internals_ != null ? this.internals_.form : null;
11 }
12 get name() {
13 return this.getAttribute("name");
14 }
15}
16
17window.customElements.define("custom-text", CustomTextElement);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…