Module
Flame.HTML.Attribute.Internal
- Package
- purescript-flame
- Repository
- easafe/purescript-flame
Definition of HTML attributes
#ToStringAttribute Source
type ToStringAttribute = ToNodeData String
#ToIntAttribute Source
type ToIntAttribute = ToNodeData Int
#ToNumberAttribute Source
type ToNumberAttribute = ToNodeData Number
#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)
#class' Source
class' :: forall b a. ToClassList b => b -> NodeData a
#createAttribute Source
createAttribute :: forall message. String -> String -> NodeData message
Creates a HTML attribute
Attributes have name and value opposed to properties, which are presential only
#createSetAttribute Source
createSetAttribute :: forall message. String -> String -> NodeData message
Creates a HTML attribute that uses setAttribute
Attributes have name and value opposed to properties, which are presential only
- Modules
- Flame
- Flame.
Application. DOM - Flame.
Application. EffectList - Flame.
Application. Effectful - Flame.
Application. NoEffects - Flame.
Application. PreMount - Flame.
External - Flame.
External. Document - Flame.
External. Source - Flame.
External. Window - Flame.
HTML. Attribute - Flame.
HTML. Attribute. Internal - Flame.
HTML. Element - Flame.
HTML. Event - Flame.
HTML. Property - Flame.
Renderer - Flame.
Renderer. String - Flame.
Types