forked from kristianmandrup/aurelia-definitely-typed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaurelia-history-browser.d.ts
39 lines (37 loc) · 1.19 KB
/
aurelia-history-browser.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Type definitions for aurelia-history-browser v0.4.0
// Project: https://github.com/aurelia/history-browser
// Definitions by: Kristian Mandrup <https://github.com/kristianmandrup/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module 'aurelia-history-browser/index' {
import { History } from 'aurelia-history';
export class BrowserHistory extends History {
interval: any;
active: any;
previousFragment: any;
location: any;
history: any;
root: any;
options: any;
fragment: any;
iframe: any;
private _checkUrlCallback;
private _hasPushState;
private _wantsHashChange;
private _wantsPushState;
private _checkUrlInterval;
private _checkUrlTimer;
constructor();
getHash(window?: any): any;
getFragment(fragment?: any, forcePushState?: any): any;
activate(options?: any): any;
deactivate(): void;
checkUrl(): boolean;
loadUrl(fragmentOverride?: any): any;
navigate(fragment?: any, options?: any): any;
navigateBack(): void;
}
export function configure(aurelia: any): void;
}
declare module 'aurelia-history-browser' {
export * from 'aurelia-history-browser/index';
}