delagoutte Posted July 31, 2017 Share Posted July 31, 2017 actually if i want include a js library, i could use servermodule.customfiles or UniAddJSLibrary('assets/svgxuse/svgxuse.min.js', False, [upoPlatformDesktop]); in mainmodule initialization. How can i do for add defer params ? i need to produce a script line like this : <script src="svgxuse.js" defer></script> Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 31, 2017 Administrators Share Posted July 31, 2017 UniAddJSLibrary('assets/svgxuse/svgxuse.min.js', False, [upoPlatformDesktop, upoDefer]); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.