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
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.
The text was updated successfully, but these errors were encountered:
Is it technically possible to restyle without re-rendering the component with a clever use of ui.tags.style() and reactivity. For example, the button here toggle red on/off for the <body>:
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.
The text was updated successfully, but these errors were encountered: