Clay.Dynamic

clay-0.15.0: CSS preprocessor as embedded Haskell.

Safe Haskell | None
Language | Haskell2010

Clay.Dynamic

Contents

- User input
- User modifiability
- User selection
- User focus

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

- data UserInput
- userInput :: UserInput -> Css
- inputEnabled :: UserInput
- inputDisabled :: UserInput
- data UserModify
- userModify :: UserModify -> Css
- readOnly :: UserModify
- readWrite :: UserModify
- writeOnly :: UserModify
- data UserSelect
- userSelect :: UserSelect -> Css
- selectText :: UserSelect
- selectToggle :: UserSelect
- selectElement :: UserSelect
- selectElements :: UserSelect
- data UserFocus
- userFocus :: UserFocus -> Css
- selectAll :: UserFocus
- selectBefore :: UserFocus
- selectAfter :: UserFocus
- selectSame :: UserFocus
- selectMenu :: UserFocus

# User input

data UserInput #

Selection mode.

#### Instances

Instances details

Inherit UserInput # |
Instance details Defined in Clay.Dynamic Methods inherit :: UserInput #
None UserInput # |
Instance details Defined in Clay.Dynamic Methods none :: UserInput #
Val UserInput # |
Instance details Defined in Clay.Dynamic Methods value :: UserInput -> Value #

userInput :: UserInput -> Css #

Enabling user interface elements.

inputEnabled :: UserInput #

Selection mode.

inputDisabled :: UserInput #

Selection mode.

# User modifiability

data UserModify #

Selection mode.

#### Instances

Instances details

Inherit UserModify # |
Instance details Defined in Clay.Dynamic Methods inherit :: UserModify #
Val UserModify # |
Instance details Defined in Clay.Dynamic Methods value :: UserModify -> Value #

userModify :: UserModify -> Css #

Modifiability of an element.

readOnly :: UserModify #

Selection mode.

readWrite :: UserModify #

Selection mode.

writeOnly :: UserModify #

Selection mode.

# User selection

data UserSelect #

Selection mode.

#### Instances

Instances details

All UserSelect # |
Instance details Defined in Clay.Dynamic Methods all :: UserSelect #
Inherit UserSelect # |
Instance details Defined in Clay.Dynamic Methods inherit :: UserSelect #
None UserSelect # |
Instance details Defined in Clay.Dynamic Methods none :: UserSelect #
Val UserSelect # |
Instance details Defined in Clay.Dynamic Methods value :: UserSelect -> Value #

userSelect :: UserSelect -> Css #

Content selection granularity.

selectText :: UserSelect #

Selection mode.

selectToggle :: UserSelect #

Selection mode.

selectElement :: UserSelect #

Selection mode.

selectElements :: UserSelect #

Selection mode.

# User focus

data UserFocus #

Focus behaviour.

#### Instances

Instances details

Auto UserFocus # |
Instance details Defined in Clay.Dynamic Methods auto :: UserFocus #
Inherit UserFocus # |
Instance details Defined in Clay.Dynamic Methods inherit :: UserFocus #
None UserFocus # |
Instance details Defined in Clay.Dynamic Methods none :: UserFocus #
Normal UserFocus # |
Instance details Defined in Clay.Dynamic Methods normal :: UserFocus #
Val UserFocus # |
Instance details Defined in Clay.Dynamic Methods value :: UserFocus -> Value #

userFocus :: UserFocus -> Css #

Content focusing granularity.

selectAll :: UserFocus #

Focus mode.

selectBefore :: UserFocus #

Focus mode.

selectAfter :: UserFocus #

Focus mode.

selectSame :: UserFocus #

Focus mode.

selectMenu :: UserFocus #

Focus mode.