src/index.js
//removes ui and backend audio clip if it is inited
removes ui and backend audio clip if it is inited
removes ui and backend audio clip if it is inited
async function remove_sound(id) {
    let div = document.getElementById(id);
    if(div.getAttribute("init")) {
        document.getElementById("grid").removeChild(div);
        external.invoke(`remove ${id}`)
    }
}
async function remove_sound ( id ) { let div = document . getElementById ( id ) ; if ( div . getAttribute ( "init" ) ) { document . getElementById ( "grid" ) . removeChild ( div ) ; external . invoke ( ` ${ id } ` ) } }
removes ui and backend audio clip if it is inited
removes ui and backend audio clip if it is inited