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

Method add

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

Source from the content-addressed store, hash-verified

54
55 // Modified default behavior
56 add(token) {
57 this.domtokenlist.add(token);
58 this.#element.setAttribute(this.#attribute, this.domtokenlist.value); // jshint ignore:line
59 }
60
61 // Modified default behavior
62 remove(token) {

Callers 15

dragDrop.test.jsFile · 0.80
mapFeature.test.jsFile · 0.80
getProjectionMethod · 0.80
_memoizeExtentMethod · 0.80
_attachedToMapMethod · 0.80
_initShadowRootMethod · 0.80
ReloadButton.jsFile · 0.80
Util.jsFile · 0.80

Calls 1

setAttributeMethod · 0.80

Tested by

no test coverage detected