Module
Specular.Dom.Widgets.Select
- Package
- purescript-specular
- Repository
- restaumatic/purescript-specular
#SelectConfig Source
type SelectConfig a = { attributes :: WeakDynamic Attrs, display :: a -> String, initialValueIndex :: Int, options :: Array a }
#selectInput Source
selectInput :: forall m a. MonadWidget m => SelectConfig a -> m (Dynamic a)
A <select> element with static list of options. The returned Dynamic represents the currently selected value.
#SelectViewConfig Source
type SelectViewConfig a = { attributes :: WeakDynamic Attrs, display :: a -> String, options :: Array a }
#selectView Source
selectView :: forall m a. MonadWidget m => Eq a => SelectViewConfig a -> WeakDynamic a -> m (Event a)
A <select> element with static list of options.
- 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