Safe Haskell | None |
---|---|
Language | Haskell2010 |
- aElement :: [Char]
- brElement :: [Char]
- pElement :: [Char]
- divElement :: [Char]
- formElement :: [Char]
- buttonElement :: [Char]
- inputTextElement :: [Char]
- inputCheckboxElement :: [Char]
- addTextToHtml :: String -> String -> String -> Fay ()
- addButton :: String -> String -> Fay () -> Fay ()
- addCheckbox :: String -> String -> String -> Fay ()
- addDiv :: String -> String -> String -> Fay ()
- addElement :: String -> String -> String -> Fay ()
- addForm :: String -> String -> Fay JQuery
- addInput :: String -> String -> String -> String -> Fay ()
- addBreakline :: String -> Fay ()
- getInputInt :: String -> Fay Integer
- selectId :: String -> Fay JQuery
- setEventToHtml :: String -> Fay Text -> Fay JQuery
- showString :: String -> Text
- showDouble :: Double -> Text
- toInt :: Text -> Fay Integer
- toInt' :: String -> Integer
- onClick' :: Fay () -> JQuery -> Fay JQuery
- select' :: String -> Fay JQuery
- setHtml' :: String -> JQuery -> Fay JQuery
- setAttr' :: String -> String -> JQuery -> Fay JQuery
CONSTANTS
divElement :: [Char] Source
a <div> element
formElement :: [Char] Source
a <form> element
buttonElement :: [Char] Source
a <input> element
inputTextElement :: [Char] Source
a <input> element of type text
inputCheckboxElement :: [Char] Source
a <input> element of type checkbox
FUNCTIONS
ADD FUNCTIONS
:: String | text to add |
-> String | typ of the html element to add |
-> String | id of the html element to append |
-> Fay () |
add a new html element to an existing and fill the content of the new with text
:: String | text for the button |
-> String | id of the html element to append |
-> Fay () | method for the button |
-> Fay () |
add a new button (type=submit) to an existing html element with a text and a method
:: String | id for the new checkbox |
-> String | id of the html element to append |
-> String | text for the checkbox |
-> Fay () |
add a new checkbox to an existing html element with a text and a method
:: String | id of the html element to append |
-> String | id for the new div-element |
-> String | text for the div-element |
-> Fay () |
add a div-element with a text
:: String | id of the html element to append |
-> String | element type (f. e. "div") |
-> String | id for the new element |
-> Fay () |
add a custom html element
add a new form-element
:: String | label of the element |
-> String | id of the html element to append |
-> String | id for the new input element |
-> String | default value for the text field |
-> Fay () |
add a new input element of type text
OTHER FUNCTIONS
in combination f. e. with "addMapWindowEvent" to change the html element content
showString :: String -> Text Source
String to Text with FFI
showDouble :: Double -> Text Source
Double to Text with FFI
ADAPTED FAY.JQUERY FUNCTIONS
adapted from JQuery's "select"
adapted from JQuery's "select"
adapted from JQuery's "setHtml"