DOM-2.0.0: DOM Level 2 bindings for the WebBits package.Source codeContentsIndex
Data.DOM.WBTypes
Portabilityportable
Stabilityexperimental
Maintainergolubovsky@gmail.com
Description
Minimal glue for WebBits and DOM
Synopsis
castExpr :: b -> Expression a -> Expression b
exprType :: Expression a -> a
(/\) :: Expression a -> b -> Expression b
setjsProperty :: Monad m => String -> Expression a -> Expression this -> m (Expression this)
Documentation
castExpr :: b -> Expression a -> Expression bSource
Cast a WebBits Javascript expression to the given type. Type is represented by a value of the desired type (ofter undefined).
exprType :: Expression a -> aSource
Extract a type from an expression.
(/\) :: Expression a -> b -> Expression bSource
An infix version of castExpr provided for convenience.
setjsProperty :: Monad m => String -> Expression a -> Expression this -> m (Expression this)Source
A helper function to encode a property setter. This function is mostly called from converted IDL files for DOM interfaces.
Produced by Haddock version 2.4.2