fake-geolocation
    Preparing search index...

    Interface DelegatedGeolocationHandle

    A handle for controlling a delegated Geolocation API.

    interface DelegatedGeolocationHandle {
        isSelectedDelegate: (delegate: Geolocation) => boolean;
        selectDelegate: (delegate: Geolocation) => void;
        selectedDelegate: () => Geolocation;
    }
    Index

    Properties

    isSelectedDelegate: (delegate: Geolocation) => boolean

    Check if a Geolocation API delegate is selected.

    Type declaration

      • (delegate: Geolocation): boolean
      • Parameters

        Returns boolean

        true if the delegate is selected, false otherwise.

    selectDelegate: (delegate: Geolocation) => void

    Select a Geolocation API delegate.

    Type declaration

    selectedDelegate: () => Geolocation

    Get the selected Geolocation API delegate.

    Type declaration