Using lazy handler loader & full JS

K

Kirby

Guest
Member
Either I am missing smth. or using lazy loaded handlers & full JS is kinda complicated:

HTML:

Code:
<xf:if is="$xf.development && $xf.fullJs">
    <xf:js addon="vendorprefix/addonid" src="vendorprefix/addonid/file.js" />
<xf:else />
    <xf:js>XF.LazyHandlerLoader.register('js/vendorprefix/addonid/file.min.js', 'handlername', 'click');</xf:js>
</xf:if>

Is there a simpler way to achieve this?

If not:
Could we have smth. simpler like
HTML:

<xf:js addon="vendorprefix/addonid"...

Read more
Using lazy handler loader & full JS

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
BlackSpigot General Chat
Rules Help Users
    Dekomori @ Dekomori: Please be advised that downloading user-uploaded content comes with risks. The review system is...
    Top