.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../Includes.txt .. _developer: Developer Corner ================ Target group: **Administrators / Developers** .. _hooks_end_functions: Hooks - End Function -------------------- After all files are loaded, ``CssJsAsyncLoader`` looks for the javascript function ``CssJsAsyncLoaderFiles.endFunction`` and calls it if it exists. You might want to use this for hiding a loading screen, as soon as everything is loaded/rendered. **Example** .. code-block:: javascript CssJsAsyncLoaderFiles.endFunction = function() { document.getElementById('loadingScreen').classList.add = 'hidden'; }; .. _hooks_minify_javascript: Hooks - Minify Javascript ------------------------- When the ``minify`` parameter is set for javascript resources, the function ``\TYPO3\CMS\Core\Utility\GeneralUtility::minifyJavaScript()`` is called. As can be seen in https://typo3.org/api/typo3cms/class_t_y_p_o3_1_1_c_m_s_1_1_core_1_1_utility_1_1_general_utility.html the function can be configured for javascript minification.