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

#ToClassList Source

class ToClassList a  where

Enables either strings or records be used as an argument to class'

Members

Instances

#style Source

style :: forall a r. Homogeneous r String => Record r -> NodeData a

#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

#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

#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

#ToEvent Source

type ToEvent message = message -> NodeData message

#EventName Source

#onWheel' Source

onWheel' :: forall message. ToRawEvent message

#onWheel Source

onWheel :: 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

#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

#onBlur' Source

onBlur' :: forall message. ToRawEvent message

#onBlur Source

onBlur :: forall message. ToEvent message

#createRawEvent Source

createRawEvent :: forall message. String -> (Event -> Effect 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 given event

Re-exports from Flame.HTML.Property

#externalResourcesRequired Source

#createProperty Source

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

Creates a property

A property is a presential (boolean) attribute such as checked or enabled