{-# LANGUAGE OverloadedStrings #-}
module Miso.Native.X.Element.Svg.Property
(
content_
, contentRaw_
, src_
) where
import Miso.String (MisoString, ms)
import Miso.Types (Attribute, View)
import Miso.Property
import Miso.Html.Render (toHtml)
contentRaw_ :: MisoString -> Attribute model action
contentRaw_ :: forall model action. MisoString -> Attribute model action
contentRaw_ = MisoString -> MisoString -> Attribute model action
forall model action.
MisoString -> MisoString -> Attribute model action
textProp MisoString
"content"
content_ :: View context model action -> Attribute model action
content_ :: forall context model action.
View context model action -> Attribute model action
content_ = MisoString -> MisoString -> Attribute model action
forall model action.
MisoString -> MisoString -> Attribute model action
textProp MisoString
"content" (MisoString -> Attribute model action)
-> (View context model action -> MisoString)
-> View context model action
-> Attribute model action
forall b c a. (b -> c) -> (a -> b) -> a -> c
. ByteString -> MisoString
forall str. ToMisoString str => str -> MisoString
ms (ByteString -> MisoString)
-> (View context model action -> ByteString)
-> View context model action
-> MisoString
forall b c a. (b -> c) -> (a -> b) -> a -> c
. View context model action -> ByteString
forall a. ToHtml a => a -> ByteString
toHtml
src_ :: MisoString -> Attribute model action
src_ :: forall model action. MisoString -> Attribute model action
src_ = MisoString -> MisoString -> Attribute model action
forall model action.
MisoString -> MisoString -> Attribute model action
textProp MisoString
"src"