This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.

Dom.Style

Construct a style property from a list of style declarations

toProperty : List (String, String) -> Dom.Property msg

Alias for VirtualDom.style

module Dom.Style exposing
  ( toProperty )

{-| Construct a `style` property from a list of style declarations

@docs toProperty

-}
import Dom
import VirtualDom


{-| Alias for `VirtualDom.style`
-}
toProperty : List (String, String) -> Dom.Property msg
toProperty =
  VirtualDom.style