MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / _renderSpinner

Method _renderSpinner

assets/js/weatherApp.js:36–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 }
35
36 _renderSpinner() {
37 this.#parentElement.innerHTML = "";
38 this.#parentElement.insertAdjacentHTML('afterbegin', `
39 <div class="spinner">
40 <img src="../../assets/Images/weatherApp/loading.svg" alt="">
41
42 </div>
43 `)
44 }
45 _clearInput() {
46 input.value = "";
47 }

Callers 1

_getWeatherMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected