Skip to content

Add a Way to Dynamically Update CSS for Components #1798

@GiorgioMiglia

Description

@GiorgioMiglia

Currently, there is no straightforward way to update the CSS of a component after it has been loaded, even if it has an ui.update function. The only workaround I found involves removing the element with the old style and re-rendering it with the new style, which is not ideal.

Suggested Enhancement:
Introduce functionality to dynamically update the CSS of components without requiring a full re-render. This could be particularly useful for components like cards and value boxes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions