UNPKG

@eclipse-scout/core

Version:
12 lines 625 B
/// <reference types="jquery" /> import { Desktop, DoEntity, UiCallbackErrorDo, UiCallbackHandler } from '../index'; export declare class GeoLocationUiHandler implements UiCallbackHandler { handle(callbackId: string, owner: Desktop, request: DoEntity): JQuery.Promise<GeoLocationResponse>; protected _positionSuccess(position: GeolocationPosition): GeoLocationResponse; protected _positionError(positionError: GeolocationPositionError): UiCallbackErrorDo; } export interface GeoLocationResponse extends DoEntity { latitude?: string; longitude?: string; } //# sourceMappingURL=GeoLocationUiHandler.d.ts.map