Module
Flame.Html.Element
- Package
- purescript-flame
- Repository
- easafe/purescript-flame
Definition of HTML elements
#ToNode Source
class ToNode :: forall k. Type -> k -> (k -> Type) -> Constraint
class ToNode a b c | a -> b where
ToNode
simplifies element creation by automating common tag operations
tag "my-tag" []
becomes short fortag [id "my-tag"] []
tag [] "content"
becomes short fortag [] [text "content"]
- elements with a single attribute or children need not as well to use lists:
tag (enabled True) (tag attrs children)
Members
Instances
#createDatalessElementNode Source
createDatalessElementNode :: forall message. Tag -> Array (Html message) -> Html message
#createSingleElementNode Source
createSingleElementNode :: forall message. Tag -> Array (NodeData message) -> Html message
#createDatalessSvgNode Source
createDatalessSvgNode :: forall message. Array (Html message) -> Html message
#createSingleSvgNode Source
createSingleSvgNode :: forall message. Array (NodeData message) -> Html message
#createLazyNode Source
createLazyNode :: forall message arg. Array String -> (arg -> Html message) -> arg -> Html message
#createManagedNode Source
createManagedNode :: forall arg message. NodeRenderer arg -> Array (NodeData message) -> arg -> Html message
#createDatalessManagedNode Source
createDatalessManagedNode :: forall arg message. NodeRenderer arg -> arg -> Html message
#createEmptyElement Source
createEmptyElement :: forall message. Tag -> Html message
Creates an element node with no attributes and no children nodes
#createElement Source
createElement :: forall a b h. Tag -> ToHtml a b h
Creates an element node with attributes and children nodes
#createElement_ Source
createElement_ :: forall b h. Tag -> ToHtml_ b h
Creates an element node with no attributes but children nodes
#createElement' Source
createElement' :: forall a h. Tag -> ToHtml' a h
Creates an element node with attributes but no children nodes
#managed Source
managed :: forall arg nd message. ToNode nd message NodeData => NodeRenderer arg -> nd -> arg -> Html message
Creates a node which the corresponding DOM node is created and updated from the given arg
#managed_ Source
managed_ :: forall arg message. NodeRenderer arg -> arg -> Html message
Creates a node (with no attributes) which the corresponding DOM node is created and updated from the given arg
#blockquote Source
blockquote :: forall a b h. ToHtml a b h
#blockquote_ Source
blockquote_ :: forall b h. ToHtml_ b h
#blockquote' Source
blockquote' :: forall a h. ToHtml' a h
#animateColor Source
animateColor :: forall a b h. ToHtml a b h
#animateColor_ Source
animateColor_ :: forall b h. ToHtml_ b h
#animateColor' Source
animateColor' :: forall a h. ToHtml' a h
#animateMotion Source
animateMotion :: forall a b h. ToHtml a b h
#animateMotion_ Source
animateMotion_ :: forall b h. ToHtml_ b h
#animateMotion' Source
animateMotion' :: forall a h. ToHtml' a h
#animateTransform Source
animateTransform :: forall a b h. ToHtml a b h
#animateTransform_ Source
animateTransform_ :: forall b h. ToHtml_ b h
#animateTransform' Source
animateTransform' :: forall a h. ToHtml' a h
#colorProfile Source
colorProfile :: forall a b h. ToHtml a b h
#colorProfile_ Source
colorProfile_ :: forall b h. ToHtml_ b h
#colorProfile' Source
colorProfile' :: forall a h. ToHtml' a h
#feColorMatrix Source
feColorMatrix :: forall a b h. ToHtml a b h
#feColorMatrix_ Source
feColorMatrix_ :: forall b h. ToHtml_ b h
#feColorMatrix' Source
feColorMatrix' :: forall a h. ToHtml' a h
#feComponentTransfer Source
feComponentTransfer :: forall a b h. ToHtml a b h
#feComponentTransfer_ Source
feComponentTransfer_ :: forall b h. ToHtml_ b h
#feComponentTransfer' Source
feComponentTransfer' :: forall a h. ToHtml' a h
#feComposite Source
feComposite :: forall a b h. ToHtml a b h
#feComposite_ Source
feComposite_ :: forall b h. ToHtml_ b h
#feComposite' Source
feComposite' :: forall a h. ToHtml' a h
#feConvolveMatrix Source
feConvolveMatrix :: forall a b h. ToHtml a b h
#feConvolveMatrix_ Source
feConvolveMatrix_ :: forall b h. ToHtml_ b h
#feConvolveMatrix' Source
feConvolveMatrix' :: forall a h. ToHtml' a h
#feDiffuseLighting Source
feDiffuseLighting :: forall a b h. ToHtml a b h
#feDiffuseLighting_ Source
feDiffuseLighting_ :: forall b h. ToHtml_ b h
#feDiffuseLighting' Source
feDiffuseLighting' :: forall a h. ToHtml' a h
#feDisplacementMap Source
feDisplacementMap :: forall a b h. ToHtml a b h
#feDisplacementMap_ Source
feDisplacementMap_ :: forall b h. ToHtml_ b h
#feDisplacementMap' Source
feDisplacementMap' :: forall a h. ToHtml' a h
#feDistantLight Source
feDistantLight :: forall a b h. ToHtml a b h
#feDistantLight_ Source
feDistantLight_ :: forall b h. ToHtml_ b h
#feDistantLight' Source
feDistantLight' :: forall a h. ToHtml' a h
#feDropShadow Source
feDropShadow :: forall a b h. ToHtml a b h
#feDropShadow_ Source
feDropShadow_ :: forall b h. ToHtml_ b h
#feDropShadow' Source
feDropShadow' :: forall a h. ToHtml' a h
#feGaussianBlur Source
feGaussianBlur :: forall a b h. ToHtml a b h
#feGaussianBlur_ Source
feGaussianBlur_ :: forall b h. ToHtml_ b h
#feGaussianBlur' Source
feGaussianBlur' :: forall a h. ToHtml' a h
#feMergeNode Source
feMergeNode :: forall a b h. ToHtml a b h
#feMergeNode_ Source
feMergeNode_ :: forall b h. ToHtml_ b h
#feMergeNode' Source
feMergeNode' :: forall a h. ToHtml' a h
#feMorphology Source
feMorphology :: forall a b h. ToHtml a b h
#feMorphology_ Source
feMorphology_ :: forall b h. ToHtml_ b h
#feMorphology' Source
feMorphology' :: forall a h. ToHtml' a h
#fePointLight Source
fePointLight :: forall a b h. ToHtml a b h
#fePointLight_ Source
fePointLight_ :: forall b h. ToHtml_ b h
#fePointLight' Source
fePointLight' :: forall a h. ToHtml' a h
#feSpecularLighting Source
feSpecularLighting :: forall a b h. ToHtml a b h
#feSpecularLighting_ Source
feSpecularLighting_ :: forall b h. ToHtml_ b h
#feSpecularLighting' Source
feSpecularLighting' :: forall a h. ToHtml' a h
#feSpotLight Source
feSpotLight :: forall a b h. ToHtml a b h
#feSpotLight_ Source
feSpotLight_ :: forall b h. ToHtml_ b h
#feSpotLight' Source
feSpotLight' :: forall a h. ToHtml' a h
#feTurbulence Source
feTurbulence :: forall a b h. ToHtml a b h
#feTurbulence_ Source
feTurbulence_ :: forall b h. ToHtml_ b h
#feTurbulence' Source
feTurbulence' :: forall a h. ToHtml' a h
#fontFaceFormat Source
fontFaceFormat :: forall a b h. ToHtml a b h
#fontFaceFormat_ Source
fontFaceFormat_ :: forall b h. ToHtml_ b h
#fontFaceFormat' Source
fontFaceFormat' :: forall a h. ToHtml' a h
#fontFaceName Source
fontFaceName :: forall a b h. ToHtml a b h
#fontFaceName_ Source
fontFaceName_ :: forall b h. ToHtml_ b h
#fontFaceName' Source
fontFaceName' :: forall a h. ToHtml' a h
#fontFaceSrc Source
fontFaceSrc :: forall a b h. ToHtml a b h
#fontFaceSrc_ Source
fontFaceSrc_ :: forall b h. ToHtml_ b h
#fontFaceSrc' Source
fontFaceSrc' :: forall a h. ToHtml' a h
#fontFaceUri Source
fontFaceUri :: forall a b h. ToHtml a b h
#fontFaceUri_ Source
fontFaceUri_ :: forall b h. ToHtml_ b h
#fontFaceUri' Source
fontFaceUri' :: forall a h. ToHtml' a h
#foreignObject Source
foreignObject :: forall a b h. ToHtml a b h
#foreignObject_ Source
foreignObject_ :: forall b h. ToHtml_ b h
#foreignObject' Source
foreignObject' :: forall a h. ToHtml' a h
#hatchpath_ Source
hatchpath_ :: forall b h. ToHtml_ b h
#hatchpath' Source
hatchpath' :: forall a h. ToHtml' a h
#linearGradient Source
linearGradient :: forall a b h. ToHtml a b h
#linearGradient_ Source
linearGradient_ :: forall b h. ToHtml_ b h
#linearGradient' Source
linearGradient' :: forall a h. ToHtml' a h
#meshgradient Source
meshgradient :: forall a b h. ToHtml a b h
#meshgradient_ Source
meshgradient_ :: forall b h. ToHtml_ b h
#meshgradient' Source
meshgradient' :: forall a h. ToHtml' a h
#meshpatch_ Source
meshpatch_ :: forall b h. ToHtml_ b h
#meshpatch' Source
meshpatch' :: forall a h. ToHtml' a h
#missingGlyph Source
missingGlyph :: forall a b h. ToHtml a b h
#missingGlyph_ Source
missingGlyph_ :: forall b h. ToHtml_ b h
#missingGlyph' Source
missingGlyph' :: forall a h. ToHtml' a h
#radialGradient Source
radialGradient :: forall a b h. ToHtml a b h
#radialGradient_ Source
radialGradient_ :: forall b h. ToHtml_ b h
#radialGradient' Source
radialGradient' :: forall a h. ToHtml' a h
#solidcolor Source
solidcolor :: forall a b h. ToHtml a b h
#solidcolor_ Source
solidcolor_ :: forall b h. ToHtml_ b h
#solidcolor' Source
solidcolor' :: forall a h. ToHtml' a h
- Modules
- Flame
- Flame.
Application. EffectList - Flame.
Application. Effectful - Flame.
Application. Internal. Dom - Flame.
Application. Internal. PreMount - Flame.
Application. NoEffects - Flame.
Html. Attribute - Flame.
Html. Attribute. Internal - Flame.
Html. Element - Flame.
Html. Event - Flame.
Internal. Equality - Flame.
Internal. Fragment - Flame.
Renderer. Internal. Dom - Flame.
Renderer. String - Flame.
Serialization - Flame.
Subscription - Flame.
Subscription. Document - Flame.
Subscription. Internal. Create - Flame.
Subscription. Internal. Listener - Flame.
Subscription. Unsafe. CustomEvent - Flame.
Subscription. Window - Flame.
Types