[−][src]Module plaster::components::select
This module contains implementation of Select
component.
You can use it instead <select>
tag, because the component
helps you to track selected value in an original type. Example:
enum Scene { First, Second, } fn view() -> Html<Model> { let scenes = vec![Scene::First, Scene::Second]; html! { <Select<Scenes>: options=scenes, /> } }
Structs
Props | Properties of |
Select |
|
Enums
Msg | Internal message of the component. |