1 |
|
2 | import { LocationConfig, LocationServices, UIRouter } from '@uirouter/core';
|
3 | import { ILocationService, ILocationProvider, IWindowService } from 'angular';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare class Ng1LocationServices implements LocationConfig, LocationServices {
|
9 | private $locationProvider;
|
10 | private $location;
|
11 | private $sniffer;
|
12 | private $browser;
|
13 | private $window;
|
14 | path: any;
|
15 | search: any;
|
16 | hash: any;
|
17 | hashPrefix: any;
|
18 | port: any;
|
19 | protocol: any;
|
20 | host: any;
|
21 | private _baseHref;
|
22 | private _urlListeners;
|
23 | |
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 | static monkeyPatchPathParameterType(router: UIRouter): void;
|
36 | dispose(): void;
|
37 | constructor($locationProvider: ILocationProvider);
|
38 | onChange(callback: Function): () => Function[];
|
39 | html5Mode(): any;
|
40 | baseHref(): any;
|
41 | url(newUrl?: string, replace?: boolean, state?: any): string;
|
42 | _runtimeServices($rootScope: any, $location: ILocationService, $sniffer: any, $browser: any, $window: IWindowService): void;
|
43 | }
|