Defer in javascript script tag
Posted: Fri Jan 12, 2024 11:49 am
Hi, is there a way to defer a script tag with <?php echo Theme::js('https://blablabla.com/cdn.min.js', false) ?> ?
Inserting manually is working but is there any function of Theme::js to add a defer? maybe something like <? echo Theme::js('https://this.is/ajsfile.js', false, defer, or async) ?>
Bludit 3.15.0 - Fresh Install
Theme : My Custom Theme
Plugins : Default starter plugin
Inserting manually is working but is there any function of Theme::js to add a defer? maybe something like <? echo Theme::js('https://this.is/ajsfile.js', false, defer, or async) ?>
Bludit 3.15.0 - Fresh Install
Theme : My Custom Theme
Plugins : Default starter plugin