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

Method setAttribute

src/main-thread/main-thread.d.ts:18–18  ·  view source on GitHub ↗

* Requests an element attribute change. * @param node * @param attr * @param value * @return True if attribute change was applied.

(node: Node, attr: string, value: string | null)

Source from the content-addressed store, hash-verified

16 * @return True if attribute change was applied.
17 */
18 setAttribute(node: Node, attr: string, value: string | null): boolean;
19
20 /**
21 * Requests a node property change.

Callers 15

setFunction · 0.65
cloneNodeMethod · 0.65
labelMethod · 0.65
valueMethod · 0.65
testReflectedPropertyFunction · 0.65
cloneNode.test.tsFile · 0.65
rel.test.tsFile · 0.65
cloneNode.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected