QiTASC / hatchinq / Hatchinq.DropDown

Exposed


type alias Config item msg =
{ theme : Hatchinq.Theme.Theme
, lift : Message item msg -> msg 
}


type Message item msg


type alias State =
{ uiState : UiState
, focusedItem : Maybe Basics.Int 
}

configure : Config item msg -> List (Hatchinq.Attribute.Attribute InternalConfig) -> View item msg -> Element msg

dropDownCount : Basics.Int -> Hatchinq.Attribute.Attribute InternalConfig

filled : Hatchinq.Attribute.Attribute InternalConfig

init : State

label : String -> Hatchinq.Attribute.Attribute InternalConfig

outlined : Hatchinq.Attribute.Attribute InternalConfig

searchable : Hatchinq.Attribute.Attribute InternalConfig

update : Message item msg -> State -> ( State, Platform.Cmd.Cmd msg )