MCPcopy Index your code
hub / github.com/Maps4HTML/MapML.js / remove

Method remove

src/mapml/utils/DOMTokenList.js:62–65  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

60
61 // Modified default behavior
62 remove(token) {
63 this.domtokenlist.remove(token);
64 this.#element.setAttribute(this.#attribute, this.domtokenlist.value); // jshint ignore:line
65 }
66
67 // Modified default behavior
68 replace(oldToken, newToken) {

Calls 1

setAttributeMethod · 0.80

Tested by

no test coverage detected