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

Function createPlaylist

assets/js/SpotifyFinder.js:121–126  ·  view source on GitHub ↗
(text, value)

Source from the content-addressed store, hash-verified

119 },
120
121 createPlaylist(text, value) {
122 const html = `<option value="${value}">${text}</option>`
123 document
124 .querySelector(DOMElements.selectPlaylist)
125 .insertAdjacentHTML('beforeend', html)
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>`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected