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

Method constructor

assets/js/weatherApp.js:15–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 #KEY = `cb7fa1df4f862242c79d99d4e50959e6`;
14
15 constructor() {
16 searchBtn.addEventListener('click', this._getWeather.bind(this));
17 form.addEventListener('submit', this._getWeather.bind(this));
18 }
19
20 async _getWeather(e) {
21 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected