fay-jquery-0.6.0.2: jQuery bindings for Fay.

Safe HaskellNone
LanguageHaskell98

JQuery

Synopsis

Documentation

ajax :: Text -> (Automatic b -> Fay ()) -> (JQXHR -> Maybe Text -> Maybe Text -> Fay ()) -> Fay () Source

ajaxPost :: Text -> Automatic f -> (Automatic g -> Fay ()) -> (JQXHR -> Maybe Text -> Maybe Text -> Fay ()) -> Fay () Source

Serializes the given object to JSON and passes it as the request body without request parameters. The response is deserialized depending on its type.

ajaxPostParam :: Text -> Text -> Automatic f -> (Automatic g -> Fay ()) -> (JQXHR -> Maybe Text -> Maybe Text -> Fay ()) -> Fay () Source

Same as ajaxPost but sends the data inside the given request parameter

ready :: Fay () -> Fay () Source

data Speed Source

Constructors

Instantly 
Slow 
Fast 
Speed Double 

resize :: (Event -> Fay ()) -> JQuery -> Fay () Source

scroll :: (Event -> Fay ()) -> JQuery -> Fay () Source

load :: (Event -> Fay ()) -> JQuery -> Fay () Source

unload :: (Event -> Fay ()) -> Window -> Fay () Source

click :: (Event -> Fay ()) -> JQuery -> Fay JQuery Source

hover :: (Event -> Fay ()) -> JQuery -> Fay JQuery Source

toggleEvents :: [Event -> Fay ()] -> JQuery -> Fay () Source

bind :: EventType -> (Event -> Fay ()) -> JQuery -> Fay () Source

on :: EventType -> (Event -> Fay ()) -> JQuery -> Fay () Source

one :: EventType -> (Event -> Fay ()) -> JQuery -> Fay () Source

blur :: (Event -> Fay ()) -> JQuery -> Fay () Source

change :: (Event -> Fay ()) -> JQuery -> Fay () Source

onFocus :: (Event -> Fay ()) -> JQuery -> Fay () Source

onselect :: (Event -> Fay ()) -> JQuery -> Fay () Source

submit :: (Event -> Fay ()) -> JQuery -> Fay () Source

keydown :: (Event -> Fay ()) -> JQuery -> Fay () Source

keypress :: (Event -> Fay ()) -> JQuery -> Fay () Source

keyup :: (Event -> Fay ()) -> JQuery -> Fay () Source

is :: Selectable a => a -> JQuery -> Fay Bool Source

validate :: JQuery -> Fay () -> Fay () Source