Community forum for knowledge and support

Updated 5 months ago

Deferring Scripts and Using Callback Functions

At a glance

The community member is having trouble making Monto and FS Range Slider work together, and is asking for experience with deferring scripts and using callback functions. Another community member responds that deferring scripts means setting the priority of script loading, and can be done using the defer attribute. However, they are unsure about callback functions and suggest that this might be something for Slater.app to help with.

Hey all, does anyone have experience with deferring scripts and using callback functions? I need to do this to make Monto and FS Range Slider work together, but I'm having trouble

M
1 comment

oof that sounds challenging....I am not sure on callback functions.

Deferring scripts just means the priority of the script loading as the page loads - < script defer src="" > if you need it to load with the rest of the page (as soon as possible) you can use async or remove the attribute all together.

Hope that part makes sense but callbacks...I really have no idea - I wish I did!

This might be something for Slater.app though.

Add a reply
Sign up and join the conversation on Slack