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

Method getAttribute

src/map-tile.js:82–94  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

80 super();
81 }
82 getAttribute(name) {
83 if (this.#hasConnected /* jshint ignore:line */) {
84 switch (name) {
85 case 'row':
86 return String(this.#initialRow); /* jshint ignore:line */
87 case 'col':
88 return String(this.#initialCol); /* jshint ignore:line */
89 case 'zoom':
90 return String(this.#initialZoom); /* jshint ignore:line */
91 }
92 }
93 return super.getAttribute(name);
94 }
95 setAttribute(name, value) {
96 if (this.#hasConnected /* jshint ignore:line */) {
97 switch (name) {

Callers 15

rowMethod · 0.95
colMethod · 0.95
zoomMethod · 0.95
srcMethod · 0.95
connectedCallbackMethod · 0.95
customTCRS.test.jsFile · 0.80
mapSpan.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected