MCPcopy Create free account
hub / github.com/codemistic/Web-Development / pauseTrack

Function pauseTrack

Music App/index.js:109–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 playpause_btn.innerHTML = '<i class="fa fa-pause-circle fa-5x"></i>';
108}
109function pauseTrack(){
110 curr_track.pause();
111 isPlaying = false;
112 track_art.classList.remove('rotate');
113 playpause_btn.innerHTML = '<i class="fa fa-play-circle fa-5x"></i>';
114}
115function nextTrack(){
116 if(track_index < music_list.length - 1 && isRandom === false){
117 track_index += 1;

Callers 1

playpauseTrackFunction · 0.85

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected