Created
May 26, 2022 15:09
-
-
Save swahaniroy/85fa0035ae008ff046d4eb7b8d31b04d to your computer and use it in GitHub Desktop.
The Util.js File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const loading = document.getElementById('loading'); | |
function hideLoading() { | |
loading.classList.add('loading--hide'); | |
} | |
function showLoading() { | |
loading.classList.remove('loading--hide'); | |
loading.classList.add('loading--active'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment