@scaflo/use-hooks - v0.1.0
    Preparing search index...

    Function useGeolocation

    • Parameters

      • Optionaloptions: PositionOptions

      Returns {
          coords: undefined | GeolocationCoords;
          error: undefined | GeolocationPositionError;
          getCurrentPosition: (opts?: PositionOptions) => Promise<GeolocationCoords>;
          isSupported: boolean;
          startWatch: (opts?: PositionOptions) => void;
          stopWatch: () => void;
      }