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

Function createTrack

assets/js/SpotifyFinder.js:128–133  ·  view source on GitHub ↗
(id, name)

Source from the content-addressed store, hash-verified

126 },
127
128 createTrack(id, name) {
129 const html = `<a href="#" class="list-group-item list-group-item-action list-group-item-light" id="${id}">${name}</a>`
130 document
131 .querySelector(DOMElements.divSonglist)
132 .insertAdjacentHTML('beforeend', html)
133 },
134
135 createTrackDetail(img, title, artist) {
136 const detailDiv = document.querySelector(DOMElements.divSongDetail)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected