Module
Flame.Html.Attribute.Internal
- Package
- purescript-flame
- Repository
- easafe/purescript-flame
Definition of HTML attributes
#ToClassList Source
class ToClassList a where
Enables either strings or records be used as an argument to class'
Members
Instances
ToClassList String
(Homogeneous r Boolean) => ToClassList (Record r)
#ToStyleList Source
class ToStyleList a where
Enables either tuples, arrays or records be used as an argument to style
Members
toStyleList :: a -> Object String
Instances
ToStyleList (Tuple String String)
(Homogeneous r String) => ToStyleList (Record r)
(Foldable f) => ToStyleList (f (Tuple String String))
#ToBooleanAttribute Source
type ToBooleanAttribute = ToNodeData Boolean
#ToIntAttribute Source
type ToIntAttribute = ToNodeData Int
#ToNumberAttribute Source
type ToNumberAttribute = ToNodeData Number
#ToStringAttribute Source
type ToStringAttribute = ToNodeData String
#class' Source
class' :: forall a b. ToClassList b => b -> NodeData a
#createAttribute Source
createAttribute :: forall message. String -> String -> NodeData message
Creates a HTML attribute
#createProperty Source
createProperty :: forall message. String -> String -> NodeData message
Sets a DOM property
#key Source
key :: ToStringAttribute
Set the key attribute for "keyed" rendering
#style Source
style :: forall a r. ToStyleList r => r -> NodeData a
Sets the node style
https://developer.mozilla.org/en-US/docs/Web/API/ElementCSSInlineStyle/style
- 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.
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