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

Safe HaskellSafe-Infered

Yesod.Form.Jquery

Description

Some fields spiced up with jQuery UI.

Synopsis

Documentation

class YesodJquery a whereSource

Methods

urlJqueryJs :: a -> Either (Route a) TextSource

The jQuery 1.4 Javascript file.

urlJqueryUiJs :: a -> Either (Route a) TextSource

The jQuery UI 1.8 Javascript file.

urlJqueryUiCss :: a -> Either (Route a) TextSource

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

urlJqueryUiDateTimePicker :: a -> Either (Route a) TextSource

jQuery UI time picker add-on.

googleHostedJqueryUiCss :: Text -> TextSource

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

class Default a where

A class for types with a default value.

Methods

def :: a

The default value for this type.

Instances