| Copyright | (C) 2016-2026 David M. Johnson |
|---|---|
| License | BSD3-style (see the file LICENSE) |
| Maintainer | David M. Johnson <code@dmj.io> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Miso.Native.X.Element.Svg.Property
Contents
Description
Synopsis
- content_ :: View context model action -> Attribute model action
- contentRaw_ :: MisoString -> Attribute model action
- src_ :: MisoString -> Attribute model action
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_ [] [])
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"