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

Method replace

src/mapml/utils/DOMTokenList.js:68–71  ·  view source on GitHub ↗
(oldToken, newToken)

Source from the content-addressed store, hash-verified

66
67 // Modified default behavior
68 replace(oldToken, newToken) {
69 this.domtokenlist.replace(oldToken, newToken);
70 this.#element.setAttribute(this.#attribute, this.domtokenlist.value); // jshint ignore:line
71 }
72
73 // Modified default behavior
74 supports(token) {

Callers 15

Gruntfile.jsFile · 0.80
_updateExtentMethod · 0.80
mapml2geojsonMethod · 0.80
widthMethod · 0.80
heightMethod · 0.80
connectedCallbackMethod · 0.80
widthMethod · 0.80
heightMethod · 0.80
connectedCallbackMethod · 0.80
ScaleBar.jsFile · 0.80

Calls 1

setAttributeMethod · 0.80

Tested by

no test coverage detected