Common properties for Material components.
Sets the HTML id attribute of a component. In components like Checkbox or
TextField the id is set on the native control HTML element.
Like HTML onClick but as property.
A CSS style as property.
A property which just does nothing.
This is useful in `Maybe.withDefault`.
Example:
Maybe.map (onClick << Tell) maybeValue
|> Maybe.withDefault Options.noOpConditionally apply a property.
Example:
onClick Msg |> when enabledStyle HTML elements using properties instead of HTML attributes.
Takes an HTML element constructor and a list of properties and returns that
element constructor with the corresponding HTML attributes applied.
Example:
styled Html.h2 [ class "title" ]
A single CSS class property.