Add setters to CSS union types
Open
- Dominant language
- Java
- Stars
- 170
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
Would it be possible to add setter methods to the CSS style properties that are represented by a Union type? For example, to set the padding property you can't do
someElement.style.setPadding("100px")
Where as for non union types you can do:
someElement.style.color ="red";
Contributor guide
Assessment
This issue has not been assessed yet.