ui/file_trigger
Types
Messages for file trigger keyboard navigation
pub type Msg {
Activate
}
Constructors
-
Activate
Values
pub fn file_trigger(
attributes: List(attribute.Attribute(a)),
children: List(element.Element(a)),
) -> element.Element(a)
pub fn input(
attributes: List(attribute.Attribute(a)),
) -> element.Element(a)
pub fn keymap(key_event: keyboard.KeyEvent) -> option.Option(Msg)
Keymap for file trigger keyboard navigation
Keyboard interactions:
- Enter: Open file picker
- Space: Open file picker
Follows WAI-ARIA Button pattern.
pub fn size(s: Size) -> attribute.Attribute(a)
pub fn variant(v: Variant) -> attribute.Attribute(a)