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

Function inputField

assets/js/SpotifyFinder.js:105–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103
104 return {
105 inputField() {
106 return {
107 genre: document.querySelector(DOMElements.selectGenre),
108 playlist: document.querySelector(DOMElements.selectPlaylist),
109 tracks: document.querySelector(DOMElements.divSonglist),
110 submit: document.querySelector(DOMElements.buttonSubmit),
111 songDetail: document.querySelector(DOMElements.divSongDetail),
112 }
113 },
114 createGenre(text, value) {
115 const html = `<option value="${value}">${text}</option>`
116 document

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected