arowM/elm-html-internal - version: 1.0.0

for more information visit the package's GitHub page

Package contains the following modules:

HTML internal

Use arowM/html. This is not supposed to be used directly.

Examples

import Batchable.Html as Html exposing (Html, Attribute)
import Batchable.Html.Attributes as Attributes
import Batchable.Html.Events as Events


mixin : msg -> Attribute msg
mixin onClick =
    Attributes.batch
        [ Attributes.class "foo"
        , Events.onClick onClick
        ]

mixin2 : Bool -> Attribute msg
mixin2 p =
    if p
        then Attributes.none
        else Attributes.class "bar"