MCPcopy
hub / github.com/videojs/video.js / setAttribute

Function setAttribute

src/js/utils/dom.js:401–403  ·  view source on GitHub ↗
(el, attribute, value)

Source from the content-addressed store, hash-verified

399 * Value to set the attribute to.
400 */
401export function setAttribute(el, attribute, value) {
402 el.setAttribute(attribute, value);
403}
404
405/**
406 * Remove an element's attribute.

Callers

nothing calls this directly

Calls 1

setAttributeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…