google / google/elemental2

Add setters to CSS union types

Open
#44 1 comment 0 reactions 1 assignee Claimed by @jDramaix View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.