leptos_use

Function use_geolocation_with_options

Source
pub fn use_geolocation_with_options(
    options: UseGeolocationOptions,
) -> UseGeolocationReturn<impl Fn() + Clone, impl Fn() + Clone>
Expand description

Version of use_geolocation that takes a UseGeolocationOptions. See use_geolocation for how to use.