miso
Copyright(C) 2016-2026 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <code@dmj.io>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Native.X.Element.Svg.Property

Contents

Description

 
Synopsis

Property

content_ :: View context model action -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/svg.html#content

Inline SVG XML content using miso View Syntax.

content_ (svg_ [] [])

N.B. Must use Miso.Svg and svg_ combinator.

contentRaw_ :: MisoString -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/svg.html#content

Inline SVG XML content.

content_ "<svg>...</svg>"

src_ :: MisoString -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/svg.html#src

SVG resource URL.

src_ "https://url.com/image.svg"