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

#ToStyleList Source

class ToStyleList a  where

Enables either tuples, arrays or records be used as an argument to style

Members

Instances

#ToBooleanAttribute Source

#ToIntAttribute Source

#ToNumberAttribute Source

#ToStringAttribute Source

#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

#style1 Source

style1 :: forall a. String -> String -> NodeData a