plushie/widget/pick_list
Pick list widget builder (dropdown picker).
Types
Values
pub fn handle(pl: PickList, h: node.PropValue) -> PickList
Set the dropdown handle style. Pass a DictVal with a “type” key.
pub fn menu_style(pl: PickList, ms: node.PropValue) -> PickList
Set dropdown menu style overrides. Pass a DictVal.
pub fn new(
id: String,
options: List(String),
selected: option.Option(String),
) -> PickList
Create a new pick list builder.
pub fn shaping(pl: PickList, s: shaping.Shaping) -> PickList
Set the text shaping strategy.