Skip to content

Feature request - Widget style dependency #1636

@ramiy

Description

@ramiy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    request/featureIndicates a Request for a non-existing New Feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions