Skip to main content

Geolocation store

Geolocation values

PropertydefaultDescription
geolocationnullGeolocation object

Geolocation events

Event nameArgumentDescription
onChangeGeolocationStateCalled when the geolocation state changes
onMountElementCalled when the component is mounted
onCleannullCalled when the component is removed

Geolocation state

export interface GeolocationState {
snapshot: [GeolocationState]
geolocation: any
id: number
callback(): void
onChange(): void
onMount(): void
onClean(): void
}