Specular.Dom.Element  
- Package
- purescript-specular
- Repository
- restaumatic/purescript-specular
#bindValueOnChange Source
bindValueOnChange :: Ref String -> PropSet up a two-way binding between the value of an <input> element,
and the given Ref.
The Ref will be updated on change event, i.e. at the end of user inteaction, not on every keystroke.
Only works on input elements.
#bindValueOnInput Source
bindValueOnInput :: Ref String -> PropSet up a two-way binding between the value of an <input> element,
and the given Ref.
The Ref will be updated on input event, i.e. on every keystroke.
Only works on input elements.
#bindChecked Source
bindChecked :: Ref Boolean -> PropSet up a two-way binding between the checked of an <input> element,
and the given Ref.
Only works on input type="checkbox" and type="radio" elements.
#indeterminateD Source
indeterminateD :: Dynamic Boolean -> PropAttach dynamically-changing indeterminate property to a checkbox element.
Only works on input type="checkbox" elements.
#classWhenD Source
classWhenD :: Dynamic Boolean -> ClassName -> PropConditionally attach a CSS class to the element. The class will be present if the condition is true.
Note: if using this property:
- the classattribute must not be used,
- the provided class name must be distinct from class names used in other properties from this module.
#classUnlessD Source
classUnlessD :: Dynamic Boolean -> ClassName -> PropclassUnlessD cond = classWhenD (not cond)
Re-exports from Specular.Dom.Builder.Class   
- Modules
- Control.Monad. Cleanup 
- Control.Monad. Replace 
- Specular.Debug 
- Specular.Dom. Browser 
- Specular.Dom. Builder 
- Specular.Dom. Builder. Class 
- Specular.Dom. Element 
- Specular.Dom. Element. Class 
- Specular.Dom. Node. Class 
- Specular.Dom. Widget 
- Specular.Dom. Widgets. Button 
- Specular.Dom. Widgets. Input 
- Specular.Dom. Widgets. RadioGroup 
- Specular.Dom. Widgets. Select 
- Specular.FRP 
- Specular.FRP. Async 
- Specular.FRP. Base 
- Specular.FRP. Fix 
- Specular.FRP. List 
- Specular.FRP. Replaceable 
- Specular.FRP. WeakDynamic 
- Specular.Internal. Effect 
- Specular.Internal. Incremental 
- Specular.Internal. Incremental. Array 
- Specular.Internal. Incremental. Effect 
- Specular.Internal. Incremental. Global 
- Specular.Internal. Incremental. Mutable 
- Specular.Internal. Incremental. MutableArray 
- Specular.Internal. Incremental. Node 
- Specular.Internal. Incremental. Optional 
- Specular.Internal. Incremental. PriorityQueue 
- Specular.Internal. Incremental. Ref 
- Specular.Internal. Profiling 
- Specular.Internal. Queue 
- Specular.Internal. RIO 
- Specular.Profiling 
- Specular.Ref