Created
February 9, 2023 21:32
-
-
Save Mao8a/1b3b0f3cedecbff14f5d7b0db39bc7c6 to your computer and use it in GitHub Desktop.
JS: JavaScript Empty Function Init
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
/** | |
* @description Contact Us Component | |
* @const elements {Object} List of elements | |
* @const element {Object} DOM element | |
*/ | |
(function () { | |
/** | |
* @description Main function | |
*/ | |
function onDocumentReady() { | |
/** | |
* Function Content | |
*/ | |
} | |
document.readyState !== 'loading' ? onDocumentReady() | |
: document.addEventListener('DOMContentLoaded', onDocumentReady); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment