Function leptos_use::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.