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

Method setAttribute

src/map-tile.js:95–105  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

93 return super.getAttribute(name);
94 }
95 setAttribute(name, value) {
96 if (this.#hasConnected /* jshint ignore:line */) {
97 switch (name) {
98 case 'row':
99 case 'col':
100 case 'zoom':
101 return;
102 }
103 }
104 super.setAttribute(name, value);
105 }
106 async connectedCallback() {
107 // initialization is done in connectedCallback, attribute initialization
108 // calls (which happen first) are effectively ignored, so we should be able

Callers 15

rowMethod · 0.95
colMethod · 0.95
zoomMethod · 0.95
srcMethod · 0.95
scroll.test.jsFile · 0.80
mapFeature.test.jsFile · 0.80
reticle.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected