leptos_use

Function use_user_media_with_options

Source
pub fn use_user_media_with_options(
    options: UseUserMediaOptions,
) -> UseUserMediaReturn<impl Fn() + Clone, impl Fn() + Clone>
Expand description

Version of use_user_media that takes a UseUserMediaOptions. See use_user_media for how to use.