Element.style

Provides both string and object style (like in Javascript) access to the style attribute.

element.style.color = "red"; // translates into setting `color: red;` in the `style` attribute
  1. ElementStyle style [@property getter]
    class Element
    @property
    style
    ()
  2. string style [@property setter]

Meta