leptos_use

Function use_textarea_autosize_with_options

Source
pub fn use_textarea_autosize_with_options<El, T, StyleT>(
    el: El,
    options: UseTextareaAutosizeOptions<StyleT>,
) -> UseTextareaAutosizeReturn<impl Fn() + Clone>
where El: Into<ElementMaybeSignal<T, Element>> + Clone, T: Into<Element> + Clone + 'static, StyleT: Into<Element> + Clone + 'static,
Expand description

Version of crate::use_textarea_autosize that takes a UseTextareaAutosizeOptions. See crate::use_textarea_autosize for how to use.