blask/unstyled/select
Types
pub type SelectState(option_type) {
SelectState(
open: Bool,
current_option: option_type,
options: List(option_type),
)
}
Constructors
-
SelectState( open: Bool, current_option: option_type, options: List(option_type), )
Functions
pub fn init_state(default: a, options: List(a)) -> SelectState(a)