Chameleon.HTML
- Package
- purescript-chameleon
- Repository
- thought2/purescript-chameleon
Re-exports from Chameleon.HTML.Attributes
#IsAttribVariantRL Source
class IsAttribVariantRL :: RowList Type -> Row Type -> Constraint
class IsAttribVariantRL rl r where
Members
toAttribVariantRL :: Proxy rl -> Variant r -> String
Instances
IsAttribVariantRL Nil r
(IsAttribVariantRL rl r', Cons sym Unit r' r, IsSymbol sym) => IsAttribVariantRL (Cons sym Unit rl) r
(IsAttribVariantRL rl r', Cons sym a r' r, IsSymbol sym, IsAttrib a) => IsAttribVariantRL (Cons sym a rl) r
#spellcheck Source
spellcheck :: forall a. Boolean -> Prop a
Specifies whether the element is to have its spelling and grammar checked or not
#sandbox Source
sandbox :: forall a. Variant ("allow-forms" :: Unit, "allow-modals" :: Unit, "allow-orientation-lock" :: Unit, "allow-pointer-lock" :: Unit, "allow-popups" :: Unit, "allow-popups-to-escape-sandbox" :: Unit, "allow-presentation" :: Unit, "allow-same-origin" :: Unit, "allow-scripts" :: Unit, "allow-top-navigation" :: Unit) -> Prop a
Enables an extra set of restrictions for the content in an <iframe>
#rel Source
rel :: forall a. Variant (alternate :: Unit, author :: Unit, bookmark :: Unit, external :: Unit, help :: Unit, license :: Unit, next :: Unit, nofollow :: Unit, noopener :: Unit, noreferrer :: Unit, prev :: Unit, search :: Unit, tag :: Unit) -> Prop a
Specifies the relationship between the current document and the linked document
#referrerpolicy Source
referrerpolicy :: forall a. Variant ("no-referrer" :: Unit, "no-referrer-when-downgrade" :: Unit, origin :: Unit, "origin-when-cross-origin" :: Unit, "same-origin" :: Unit, "strict-origin" :: Unit, "strict-origin-when-cross-origin" :: Unit, "unsafe-url" :: Unit) -> Prop a
Specifies which referrer is sent when fetching the resource
#playsinline Source
playsinline :: forall a. Boolean -> Prop a
Specifies that the video will start playing as soon as it is ready
#placeholder Source
placeholder :: forall a. String -> Prop a
Specifies a short hint that describes the expected value of the element
#novalidate Source
novalidate :: forall a. Boolean -> Prop a
Specifies that the form should not be validated when submitted
#formnovalidate Source
formnovalidate :: forall a. Boolean -> Prop a
Specifies that the form-data should not be validated on submission. Only for type="submit"
#formmethod Source
formmethod :: forall a. Variant (get :: Unit, post :: Unit) -> Prop a
Specifies how to send the form-data (which HTTP method to use). Only for type="submit"
#formaction Source
formaction :: forall a. String -> Prop a
Specifies where to send the form-data when a form is submitted. Only for type="submit"
#enterkeyhint Source
enterkeyhint :: forall a. String -> Prop a
Specifies what action to take when the user hits the Enter key
#crossorigin Source
crossorigin :: forall a. Variant (anonymous :: Unit, "use-credentials" :: Unit) -> Prop a
Specifies how the element handles cross-origin requests
#contenteditable Source
contenteditable :: forall a. Boolean -> Prop a
Specifies whether the content of an element is editable or not
#background Source
background :: forall a. String -> Prop a
Not supported in HTML5. Specifies the URL of an image to be used as the background for the iframe
#autocomplete Source
autocomplete :: forall a. String -> Prop a
Specifies whether the <form> or the <input> element should have autocomplete enabled
#autocapitalize Source
autocapitalize :: forall a. String -> Prop a
Controls whether and how text input is automatically capitalized as it is entered/edited by the user
#acceptCharset Source
acceptCharset :: forall a. String -> Prop a
Specifies the character encodings that are to be used for the form submission
#_useCredentials Source
_useCredentials :: forall r. Variant ("use-credentials" :: Unit | r)
#_unsafeUrl Source
_unsafeUrl :: forall r. Variant ("unsafe-url" :: Unit | r)
#_text_plain Source
_text_plain :: forall r. Variant ("text/plain" :: Unit | r)
#_subtitles Source
_subtitles :: forall r. Variant (subtitles :: Unit | r)
#_strictOriginWhenCrossOrigin Source
_strictOriginWhenCrossOrigin :: forall r. Variant ("strict-origin-when-cross-origin" :: Unit | r)
#_strictOrigin Source
_strictOrigin :: forall r. Variant ("strict-origin" :: Unit | r)
#_sameOrigin Source
_sameOrigin :: forall r. Variant ("same-origin" :: Unit | r)
#_originWhenCrossOrigin Source
_originWhenCrossOrigin :: forall r. Variant ("origin-when-cross-origin" :: Unit | r)
#_noreferrer Source
_noreferrer :: forall r. Variant (noreferrer :: Unit | r)
#_noReferrerWhenDowngrade Source
_noReferrerWhenDowngrade :: forall r. Variant ("no-referrer-when-downgrade" :: Unit | r)
#_noReferrer Source
_noReferrer :: forall r. Variant ("no-referrer" :: Unit | r)
#_multipart_formData Source
_multipart_formData :: forall r. Variant ("multipart/form-data" :: Unit | r)
#_environment Source
_environment :: forall r. Variant (environment :: Unit | r)
#_descriptions Source
_descriptions :: forall r. Variant (descriptions :: Unit | r)
#_defaultStyle Source
_defaultStyle :: forall r. Variant ("default-style" :: Unit | r)
#_contentType Source
_contentType :: forall r. Variant ("content-type" :: Unit | r)
#_application_xWwwFormUrlencoded Source
_application_xWwwFormUrlencoded :: forall r. Variant ("application/x-www-form-urlencoded" :: Unit | r)
#_anonymous Source
_anonymous :: forall r. Variant (anonymous :: Unit | r)
#_alternate Source
_alternate :: forall r. Variant (alternate :: Unit | r)
#_allowScripts Source
_allowScripts :: forall r. Variant ("allow-scripts" :: Unit | r)
#_allowSameOrigin Source
_allowSameOrigin :: forall r. Variant ("allow-same-origin" :: Unit | r)
#_allowPresentation Source
_allowPresentation :: forall r. Variant ("allow-presentation" :: Unit | r)
#_allowPopupsToEscapeSandbox Source
_allowPopupsToEscapeSandbox :: forall r. Variant ("allow-popups-to-escape-sandbox" :: Unit | r)
#_allowPopups Source
_allowPopups :: forall r. Variant ("allow-popups" :: Unit | r)
#_allowPointerLock Source
_allowPointerLock :: forall r. Variant ("allow-pointer-lock" :: Unit | r)
#_allowOrientationLock Source
_allowOrientationLock :: forall r. Variant ("allow-orientation-lock" :: Unit | r)
#_allowModals Source
_allowModals :: forall r. Variant ("allow-modals" :: Unit | r)
#_allowForms Source
_allowForms :: forall r. Variant ("allow-forms" :: Unit | r)
Re-exports from Chameleon.HTML.Elements
#blockquote_ Source
blockquote_ :: forall html a. Html html => Array (html a) -> html a
Defines a section that is quoted from another source [No Attributes]
#blockquote Source
blockquote :: forall html a. Html html => Array (Prop a) -> Array (html a) -> html a
Defines a section that is quoted from another source
Re-exports from Chameleon.HTML.Events
#onVolumeChange Source
onVolumeChange :: forall a. a -> Prop a
Occurs when the volume of the audio/video has changed
#onTransitionEnd Source
onTransitionEnd :: forall a. a -> Prop a
Occurs when a CSS transition has completed
#onTouchStart Source
onTouchStart :: forall a. a -> Prop a
Occurs when a finger is placed on a touch screen
#onTouchMove Source
onTouchMove :: forall a. a -> Prop a
Occurs when a finger is dragged across the screen
#onTouchEnd Source
onTouchEnd :: forall a. a -> Prop a
Occurs when a finger is removed from a touch screen
#onTouchCancel Source
onTouchCancel :: forall a. a -> Prop a
Occurs when the touch is interrupted
#onTimeUpdate Source
onTimeUpdate :: forall a. a -> Prop a
Occurs when the playing position has changed (like when the user fast forwards to a different point in the media)
#onRateChange Source
onRateChange :: forall a. a -> Prop a
Occurs when the playing speed of the audio/video is changed
#onProgress Source
onProgress :: forall a. a -> Prop a
Occurs when the browser is in the process of getting the media data (downloading the media)
#onPopState Source
onPopState :: forall a. a -> Prop a
Occurs when the window's history changes
#onPageShow Source
onPageShow :: forall a. a -> Prop a
Occurs when the user navigates to a webpage
#onPageHide Source
onPageHide :: forall a. a -> Prop a
Occurs when the user navigates away from a webpage
#onMouseWheel Source
onMouseWheel :: forall a. a -> Prop a
Deprecated. Use the wheel event instead
#onMouseOver Source
onMouseOver :: forall a. a -> Prop a
Occurs when the mouse pointer moves over an element
#onMouseOut Source
onMouseOut :: forall a. a -> Prop a
Occurs when the mouse pointer moves out of an element
#onMouseMove Source
onMouseMove :: forall a. a -> Prop a
Occurs when the mouse pointer is moving while it is over an element
#onMouseLeave Source
onMouseLeave :: forall a. a -> Prop a
Occurs when the mouse pointer leaves the selected element
#onMouseEnter Source
onMouseEnter :: forall a. a -> Prop a
Occurs when the mouse pointer is over the selected element
#onMouseDown Source
onMouseDown :: forall a. a -> Prop a
Occurs when a mouse button is pressed down on an element
#onLoadedMetadata Source
onLoadedMetadata :: forall a. a -> Prop a
Occurs when meta data (like dimensions and duration) are loaded
#onLoadedData Source
onLoadedData :: forall a. a -> Prop a
Occurs when media data is loaded
#onLoadStart Source
onLoadStart :: forall a. a -> Prop a
Occurs when the browser starts looking for the specified audio/video
#onKeyPress Source
onKeyPress :: forall a. a -> Prop a
Occurs when a user presses a key
#onHashChange Source
onHashChange :: forall a. a -> Prop a
Occurs when there has been changes to the anchor part of a URL
#onFullscreenError Source
onFullscreenError :: forall a. a -> Prop a
Occurs when an element can not be displayed in fullscreen mode
#onFullscreenChange Source
onFullscreenChange :: forall a. a -> Prop a
Occurs when an element is displayed in fullscreen mode
#onFocusOut Source
onFocusOut :: forall a. a -> Prop a
Occurs when an element is about to lose focus
#onDurationChange Source
onDurationChange :: forall a. a -> Prop a
Occurs when the duration of the audio/video is changed
#onDragStart Source
onDragStart :: forall a. a -> Prop a
Occurs when the user starts to drag an element
#onDragOver Source
onDragOver :: forall a. a -> Prop a
Occurs when the dragged element is over the drop target
#onDragLeave Source
onDragLeave :: forall a. a -> Prop a
Occurs when the dragged element leaves the drop target
#onDragEnter Source
onDragEnter :: forall a. a -> Prop a
Occurs when the dragged element enters the drop target
#onDblClick Source
onDblClick :: forall a. a -> Prop a
Occurs when the user double-clicks on an element
#onContextMenu Source
onContextMenu :: forall a. a -> Prop a
Occurs when the user right-clicks on an element to open a context menu
#onCanPlayThrough Source
onCanPlayThrough :: forall a. a -> Prop a
Occurs when the browser can play through the audio/video without stopping for buffering
#onBeforeUnload Source
onBeforeUnload :: forall a. a -> Prop a
Occurs before the document is about to be unloaded
#onBeforePrint Source
onBeforePrint :: forall a. a -> Prop a
Occurs when a page is about to be printed
#onAnimationStart Source
onAnimationStart :: forall a. a -> Prop a
Occurs when a CSS animation has started
#onAnimationIteration Source
onAnimationIteration :: forall a. a -> Prop a
Occurs when a CSS animation is repeated
#onAnimationEnd Source
onAnimationEnd :: forall a. a -> Prop a
Occurs when a CSS animation has completed
#onAfterPrint Source
onAfterPrint :: forall a. a -> Prop a
Occurs when a page has started printing, or if the print dialogue box has been closed
- Modules
- Chameleon
- Chameleon.
Class - Chameleon.
HTML - Chameleon.
HTML. Attributes - Chameleon.
HTML. ElemNames - Chameleon.
HTML. Elements - Chameleon.
HTML. Events - Chameleon.
HTML. KeyedElements - Chameleon.
Impl. TestHtml - Chameleon.
SVG. Attributes - Chameleon.
SVG. ElemNames - Chameleon.
SVG. Elements - Chameleon.
SVG. KeyedElements - Chameleon.
Types