MCPcopy
hub / github.com/ampproject/worker-dom / value

Method value

src/worker-thread/dom/HTMLOptionElement.ts:81–83  ·  view source on GitHub ↗

* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement * @return value attribute value or text content if there is no attribute.

()

Source from the content-addressed store, hash-verified

79 * @return value attribute value or text content if there is no attribute.
80 */
81 get value(): any {
82 return this.getAttribute('value') || this.textContent;
83 }
84
85 /**
86 * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement

Callers

nothing calls this directly

Calls 2

getAttributeMethod · 0.80
setAttributeMethod · 0.65

Tested by

no test coverage detected