Skip to content

Add helpers for common css properties #47

@sigmundch

Description

@sigmundch

In dart:html we generated many common CSS properties as properties, so you wouldn't have to call setProperty by hand. Browsers anyways accept setting these directly by assigning the underlying property on the css declaration object.

See for example: https://github.com/dart-lang/sdk/blob/main/tools/dom/scripts/CSSPropertyNames.in

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions