mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 06:19:22 -05:00
745 B
745 B
Input
let value = RwSignal::new(String::from("o"));
view! {
<Textarea value placeholder="Textarea"/>
}
Disabled
let value = RwSignal::new(String::from("o"));
view! {
<Textarea value disabled=true/>
}
Resize
view! {
<Space vertical=true>
<Textarea placeholder=r#"Textarea with resize set to "none""#/>
<Textarea placeholder=r#"Textarea with resize set to "vertical""# resize=TextareaResize::Vertical/>
<Textarea placeholder=r#"Textarea with resize set to "horizontal""# resize=TextareaResize::Horizontal/>
<Textarea placeholder=r#"Textarea with resize set to "both""# resize=TextareaResize::Both/>
</Space>
}