Module

Flame.Html.Attribute

Package
purescript-flame
Repository
easafe/purescript-flame

Convenience module to simplify export list

Re-exports from Flame.Html.Attribute.Internal

#ToStringAttribute Source

#ToNumberAttribute Source

#ToIntAttribute Source

#ToBooleanAttribute Source

#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

#style1 Source

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

#key Source

key :: ToStringAttribute

Set the key attribute for "keyed" rendering

#createProperty Source

createProperty :: forall message. String -> String -> NodeData message

Sets a DOM property

#createAttribute Source

createAttribute :: forall message. String -> String -> NodeData message

Creates a HTML attribute

#class' Source

class' :: forall a b. ToClassList b => b -> NodeData a

Re-exports from Flame.Html.Event

#ToSpecialEvent Source

type ToSpecialEvent message t = (t -> message) -> NodeData message

#ToRawEvent Source

type ToRawEvent message = (Event -> message) -> NodeData message

#ToMaybeEvent Source

type ToMaybeEvent message = (Event -> Maybe message) -> NodeData message

#ToEvent Source

type ToEvent message = message -> NodeData message

#EventName Source

#onWheel' Source

onWheel' :: forall message. ToRawEvent message

#onWheel Source

onWheel :: forall message. ToEvent message

#onUnload' Source

onUnload' :: forall message. ToRawEvent message

#onUnload Source

onUnload :: forall message. ToEvent message

#onSubmit' Source

onSubmit' :: forall message. ToRawEvent message

#onSubmit Source

onSubmit :: forall message. ToEvent message

#onSelect' Source

onSelect' :: forall message. ToRawEvent message

#onSelect Source

onSelect :: forall message. ToSpecialEvent message String

#onScroll' Source

onScroll' :: forall message. ToRawEvent message

#onScroll Source

onScroll :: forall message. ToEvent message

#onReset' Source

onReset' :: forall message. ToRawEvent message

#onReset Source

onReset :: forall message. ToEvent message

#onMouseup' Source

onMouseup' :: forall message. ToRawEvent message

#onMouseup Source

onMouseup :: forall message. ToEvent message

#onMouseover' Source

onMouseover' :: forall message. ToRawEvent message

#onMouseover Source

onMouseover :: forall message. ToEvent message

#onMouseout' Source

onMouseout' :: forall message. ToRawEvent message

#onMouseout Source

onMouseout :: forall message. ToEvent message

#onMousemove' Source

onMousemove' :: forall message. ToRawEvent message

#onMousemove Source

onMousemove :: forall message. ToEvent message

#onMouseleave' Source

onMouseleave' :: forall message. ToRawEvent message

#onMouseleave Source

onMouseleave :: forall message. ToEvent message

#onMouseenter' Source

onMouseenter' :: forall message. ToRawEvent message

#onMouseenter Source

onMouseenter :: forall message. ToEvent message

#onMousedown' Source

onMousedown' :: forall message. ToRawEvent message

#onMousedown Source

onMousedown :: forall message. ToEvent message

#onLoad' Source

onLoad' :: forall message. ToRawEvent message

#onLoad Source

onLoad :: forall message. ToEvent message

#onKeyup' Source

onKeyup' :: forall message. ToRawEvent message

#onKeyup Source

onKeyup :: forall message. ToSpecialEvent message (Tuple Key String)

#onKeypress' Source

onKeypress' :: forall message. ToRawEvent message

#onKeypress Source

onKeypress :: forall message. ToSpecialEvent message (Tuple Key String)

#onKeydown' Source

onKeydown' :: forall message. ToRawEvent message

#onKeydown Source

onKeydown :: forall message. ToSpecialEvent message (Tuple Key String)

#onInput' Source

onInput' :: forall message. ToRawEvent message

#onInput Source

onInput :: forall message. ToSpecialEvent message String

This event fires when the value of an input, select, textarea, contenteditable or designMode on elements changes

#onFocusout' Source

onFocusout' :: forall message. ToRawEvent message

#onFocusout Source

onFocusout :: forall message. ToEvent message

#onFocusin' Source

onFocusin' :: forall message. ToRawEvent message

#onFocusin Source

onFocusin :: forall message. ToEvent message

#onFocus' Source

onFocus' :: forall message. ToRawEvent message

#onFocus Source

onFocus :: forall message. ToEvent message

#onError' Source

onError' :: forall message. ToRawEvent message

#onError Source

onError :: forall message. ToEvent message

#onDrop' Source

onDrop' :: forall message. ToRawEvent message

#onDrop Source

onDrop :: forall message. ToEvent message

#onDragstart' Source

onDragstart' :: forall message. ToRawEvent message

#onDragstart Source

onDragstart :: forall message. ToEvent message

#onDragover' Source

onDragover' :: forall message. ToRawEvent message

#onDragover Source

onDragover :: forall message. ToEvent message

#onDragleave' Source

onDragleave' :: forall message. ToRawEvent message

#onDragleave Source

onDragleave :: forall message. ToEvent message

#onDragenter' Source

onDragenter' :: forall message. ToRawEvent message

#onDragenter Source

onDragenter :: forall message. ToEvent message

#onDragend' Source

onDragend' :: forall message. ToRawEvent message

#onDragend Source

onDragend :: forall message. ToEvent message

#onDrag' Source

onDrag' :: forall message. ToRawEvent message

#onDrag Source

onDrag :: forall message. ToEvent message

#onDblclick' Source

onDblclick' :: forall message. ToRawEvent message

#onDblclick Source

onDblclick :: forall message. ToEvent message

#onContextmenu' Source

onContextmenu' :: forall message. ToRawEvent message

#onContextmenu Source

onContextmenu :: forall message. ToEvent message

#onClick' Source

onClick' :: forall message. ToRawEvent message

#onClick Source

onClick :: forall message. ToEvent message

#onCheck Source

onCheck :: forall message. ToSpecialEvent message Boolean

Helper for input event of checkboxes and radios

#onChange' Source

onChange' :: forall message. ToRawEvent message

#onChange Source

onChange :: forall message. ToEvent message

#onBlur' Source

onBlur' :: forall message. ToRawEvent message

#onBlur Source

onBlur :: forall message. ToEvent message

#createRawEvent Source

createRawEvent :: forall message. EventName -> (Event -> Effect (Maybe message)) -> NodeData message

Raises the given message for the given event, but also supplies the event itself

#createEventMessage Source

createEventMessage :: forall message. EventName -> (Event -> message) -> NodeData message

Helper for messages that expect an event

#createEvent Source

createEvent :: forall message. EventName -> message -> NodeData message

Raises the given message for the event