leptos_use

Function use_color_mode_with_options

Source
pub fn use_color_mode_with_options<El, T>(
    options: UseColorModeOptions<El, T>,
) -> UseColorModeReturn
where El: Clone + Into<ElementMaybeSignal<T, Element>>, T: Into<Element> + Clone + 'static,
Expand description

Version of use_color_mode that takes a UseColorModeOptions. See use_color_mode for how to use.