clay-0.10.1: CSS preprocessor as embedded Haskell.

Safe HaskellNone
LanguageHaskell98

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

data UserInput Source

Selection mode.

userInput :: UserInput -> Css Source

Enabling user interface elements.

inputEnabled :: UserInput Source

Selection mode.

inputDisabled :: UserInput Source

Selection mode.

User modifiability

data UserModify Source

Selection mode.

userModify :: UserModify -> Css Source

Modifiability of an element.

readOnly :: UserModify Source

Selection mode.

readWrite :: UserModify Source

Selection mode.

writeOnly :: UserModify Source

Selection mode.

User selection

userSelect :: UserSelect -> Css Source

Content selection granularity.

selectText :: UserSelect Source

Selection mode.

selectToggle :: UserSelect Source

Selection mode.

selectElement :: UserSelect Source

Selection mode.

selectElements :: UserSelect Source

Selection mode.

User focus

userFocus :: UserFocus -> Css Source

Content focusing granularity.

selectAll :: UserFocus Source

Focus mode.