yesod-form-1.4.4.1: Form handling support for Yesod Web Framework

Safe HaskellNone
LanguageHaskell98

Yesod.Form.Jquery

Description

Some fields spiced up with jQuery UI.

Synopsis

Documentation

class YesodJquery a where Source

Minimal complete definition

Nothing

Methods

urlJqueryJs :: a -> Either (Route a) Text Source

The jQuery Javascript file. Note that in upgrades to this library, the version of jQuery referenced, or where it is downloaded from, may be changed without warning. If you are relying on a specific version of jQuery, you should give an explicit URL instead of relying on the default value.

Currently, the default value is jQuery 1.7 from Google's CDN.

urlJqueryUiJs :: a -> Either (Route a) Text Source

The jQuery UI 1.8 Javascript file.

urlJqueryUiCss :: a -> Either (Route a) Text Source

The jQuery UI 1.8 CSS file; defaults to cupertino theme.

urlJqueryUiDateTimePicker :: a -> Either (Route a) Text Source

jQuery UI time picker add-on.

jqueryDayField :: (RenderMessage site FormMessage, YesodJquery site) => JqueryDaySettings -> Field (HandlerT site IO) Day Source

jqueryDatePickerDayField :: (RenderMessage site FormMessage, YesodJquery site) => JqueryDaySettings -> Field (HandlerT site IO) Day Source

Use jQuery's datepicker as the underlying implementation.

Since 1.4.3

jqueryAutocompleteField :: (RenderMessage site FormMessage, YesodJquery site) => Route site -> Field (HandlerT site IO) Text Source

jqueryAutocompleteField' Source

Arguments

:: (RenderMessage site FormMessage, YesodJquery site) 
=> Int

autocomplete minimum length

-> Route site 
-> Field (HandlerT site IO) Text 

googleHostedJqueryUiCss :: Text -> Text Source

Gets the Google hosted jQuery UI 1.8 CSS file with the given theme.

class Default a where

Methods

def :: a

Instances

Default Double 
Default Float 
Default Int 
Default Int8 
Default Int16 
Default Int32 
Default Int64 
Default Integer 
Default Ordering 
Default Word 
Default Word8 
Default Word16 
Default Word32 
Default Word64 
Default () 
Default All 
Default Any 
Default IntSet 
Default TimeLocale 
Default GzipSettings 
Default JqueryDaySettings 
Default [a] 
Integral a => Default (Ratio a) 
Default a => Default (IO a) 
(Default a, RealFloat a) => Default (Complex a) 
Default a => Default (Dual a) 
Default (Endo a) 
Num a => Default (Sum a) 
Num a => Default (Product a) 
Default (First a) 
Default (Last a) 
Default (Maybe a) 
Default (IntMap v) 
Default (Set v) 
Default a => Default (Tree a) 
Default (Seq a) 
Default (DList a) 
Default r => Default (e -> r) 
(Default a, Default b) => Default (a, b) 
Default (Map k v) 
(Default a, Default b, Default c) => Default (a, b, c) 
(Default a, Default b, Default c, Default d) => Default (a, b, c, d) 
(Default a, Default b, Default c, Default d, Default e) => Default (a, b, c, d, e) 
(Default a, Default b, Default c, Default d, Default e, Default f) => Default (a, b, c, d, e, f) 
(Default a, Default b, Default c, Default d, Default e, Default f, Default g) => Default (a, b, c, d, e, f, g)