clay-0.4: CSS preprocessor as embedded Haskell.

Safe HaskellNone

Clay.Dynamic

Contents

Description

Dynamic user interface element control. This CSS3 functionality is still in draft, though it is implemented in several browsers. See http://www.w3.org/TR/2000/WD-css3-userint-20000216#dynamic and your target browsers' vendor documentation for more information.

Synopsis

User input

userInput :: UserInput -> CssSource

Enabling user interface elements.

data UserInput Source

Selection mode.

inputEnabled :: UserInputSource

Selection mode.

inputDisabled :: UserInputSource

Selection mode.

User modifiability

userModify :: UserModify -> CssSource

Modifiability of an element.

data UserModify Source

Selection mode.

readOnly :: UserModifySource

Selection mode.

readWrite :: UserModifySource

Selection mode.

writeOnly :: UserModifySource

Selection mode.

User selection

userSelect :: UserSelect -> CssSource

Content selection granularity.

selectText :: UserSelectSource

Selection mode.

selectToggle :: UserSelectSource

Selection mode.

selectElement :: UserSelectSource

Selection mode.

selectElements :: UserSelectSource

Selection mode.

User focus

userFocus :: UserFocus -> CssSource

Content focusion granularity.

selectBefore :: UserFocusSource

Focusion mode.

selectAfter :: UserFocusSource

Focusion mode.

selectSame :: UserFocusSource

Focusion mode.

selectMenu :: UserFocusSource

Focusion mode.