chanan / chanan/BlazorStyled

Dynamic Id or Class names?

Open
#88 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C#
Stars
193
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Here is another feature request :)

It would be great if we could dynamically set the id or the class name? In my scenario I am dynamically setting an Id for a component and storing the CSS values into a database. The page that presents the component could present multiple instances of the component. Each component has a different Id with different CSS values but the same CSS structure.

Example:

#@MyComponent.Id{
... my CSS here ...
}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.