Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - Widget style dependency #1636

Closed
ramiy opened this issue Apr 24, 2017 · 1 comment
Closed

Feature request - Widget style dependency #1636

ramiy opened this issue Apr 24, 2017 · 1 comment
Labels
request/feature Indicates a Request for a non-existing New Feature.

Comments

@ramiy
Copy link
Contributor

ramiy commented Apr 24, 2017

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.

@joshmarom joshmarom added the request/feature Indicates a Request for a non-existing New Feature. label Apr 26, 2017
@arielk
Copy link
Member

arielk commented Jan 21, 2018

Added in v1.9.0: 0340f8b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request/feature Indicates a Request for a non-existing New Feature.
Projects
None yet
Development

No branches or pull requests

3 participants