Method
attributeChangedCallback
(name, oldValue, newValue)
Source from the content-addressed store, hash-verified
| 150 | } |
| 151 | |
| 152 | attributeChangedCallback(name, oldValue, newValue) { |
| 153 | if (this.#hasConnected /* jshint ignore:line */) { |
| 154 | switch (name) { |
| 155 | case 'min': |
| 156 | case 'max': |
| 157 | case 'zoom': |
| 158 | if (oldValue !== newValue) { |
| 159 | this.reRender(this._featureLayer); |
| 160 | } |
| 161 | break; |
| 162 | } |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | constructor() { |
| 167 | // Always call super first in constructor |
Callers
nothing calls this directly
Tested by
no test coverage detected