leptos_use

Function use_display_media_with_options

Source
pub fn use_display_media_with_options(
    options: UseDisplayMediaOptions,
) -> UseDisplayMediaReturn<impl Fn() + Clone, impl Fn() + Clone>
Expand description

Version of use_display_media that accepts a UseDisplayMediaOptions.