Closed JSideris closed 5 months ago
This makes a lot more sense than the chainable style builder, and is actually syntactically more light-weight.
Setting an inline style will work like this:
dot.div({ id: "my-div", style: { backgroundColor: "blue" } })
We will still have a dot.css function. It will work like this:
dot.css("#my-div", { backgroundColor: "blue" })
I THINK this is done now. Reopen if not.
This makes a lot more sense than the chainable style builder, and is actually syntactically more light-weight.
Setting an inline style will work like this:
We will still have a dot.css function. It will work like this: