* Sets an attribute to a given value. * * The first parameter, `name`, is a string with the name of the attribute * being set. * * The second parameter, `value`, is the attribute's new value. For example, * calling `myXML.setAttribute('id', 123)` sets the `id` attribute to the *
(name, value)
| 957 | * } |
| 958 | */ |
| 959 | setAttribute(name, value) { |
| 960 | this.DOM.setAttribute(name, value); |
| 961 | } |
| 962 | |
| 963 | /** |
| 964 | * Returns the element's content as a `String`. |
no outgoing calls
no test coverage detected