forked from fanruan/fineui
data
4 years ago
36 changed files with 1702 additions and 1565 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,29 @@
|
||||
export declare class Router { |
||||
constructor(op: { |
||||
[key: string]: string; |
||||
}); |
||||
route(route: string, callback: Function): this; |
||||
route(route: string, name: string, callback?: Function): this; |
||||
execute(callback?: Function, args?: any[]): void; |
||||
navigate(fragment: string, options?: { |
||||
[key: string]: any; |
||||
} | boolean): this; |
||||
} |
||||
export declare class History { |
||||
atRoot(): boolean; |
||||
getSearch(): string; |
||||
getHash(window?: Window): string; |
||||
getPath(): string; |
||||
getFragment(fragment?: string): string; |
||||
start(op: { |
||||
[key: string]: any; |
||||
}): void; |
||||
stop(): void; |
||||
route(route: string, callback: Function): void; |
||||
unRoute(route: string): void; |
||||
checkUrl(e?: Event): void; |
||||
loadUrl(fragment: string): boolean; |
||||
navigate(fragment: string, options?: { |
||||
[key: string]: any; |
||||
} | boolean): void; |
||||
} |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue