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

Dom.Text

Construct a text node

node : String -> Dom.Node msg

Alias for VirtualDom.text

module Dom.Text exposing
  ( node )

{-| Construct a text node

@docs node
-}

import VirtualDom
import Dom


{-| Alias for `VirtualDom.text`
-}
node : String -> Dom.Node msg
node =
  VirtualDom.text