Module
Select
- Package
- purescript-halogen-select
- Repository
- citizennet/purescript-halogen-select
This module exposes a component that can be used to build accessible selection
user interfaces. You are responsible for providing all rendering, with the help
of the Select.Setters
module, but this component provides the relevant
behaviors for dropdowns, autocompletes, typeaheads, keyboard-navigable calendars,
and other selection UIs.
#Visibility Source
data Visibility
Represents whether the component should display the item container. You should use this in your render function to control visibility:
render state = if state.visibility == On then renderAll else renderInputOnly
Constructors
Instances
#ComponentHTML Source
type ComponentHTML action slots m = ComponentHTML (Action action) slots m
#Spec Source
type Spec st query action slots input msg m = { finalize :: Maybe action, handleAction :: action -> HalogenM st action slots msg m Unit, handleEvent :: Event -> HalogenM st action slots msg m Unit, handleQuery :: forall a. query a -> HalogenM st action slots msg m (Maybe a), initialize :: Maybe action, receive :: input -> Maybe action, render :: State st -> ComponentHTML action slots m }
#defaultSpec Source
defaultSpec :: forall st query action slots input msg m. Spec st query action slots input msg m
- Modules
- Select
- Select.
Setters