You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elementor 1.3 introduced get_script_depends() method to load scripts only if a widget is used on the page. Now this is an awesome feature to reduce the unneeded JS code. As a developer I can create many small scripts to reduce the plugin footprint on the page - MAKING ELEMENTOR FASTER!
I would like to do the same with styles. instead of loading one huge CSS file, I want to load only the part that are used. When developing multiple widgets in a single plugin, I want to be able to get_style_depends() to load small bits of CSS files.
The text was updated successfully, but these errors were encountered:
Elementor 1.3 introduced
get_script_depends()
method to load scripts only if a widget is used on the page. Now this is an awesome feature to reduce the unneeded JS code. As a developer I can create many small scripts to reduce the plugin footprint on the page - MAKING ELEMENTOR FASTER!I would like to do the same with styles. instead of loading one huge CSS file, I want to load only the part that are used. When developing multiple widgets in a single plugin, I want to be able to
get_style_depends()
to load small bits of CSS files.The text was updated successfully, but these errors were encountered: