mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
33 lines
800 B
TypeScript
33 lines
800 B
TypeScript
// Type definitions for jQuery.Address 1.5
|
|
// Project: https://github.com/asual/jquery-address
|
|
// Definitions by: Martin Duparc <@martinduparc>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped/
|
|
|
|
/// <reference path="../jquery/jquery.d.ts" />
|
|
|
|
interface JQueryAddressStatic {
|
|
();
|
|
change(callback: any): void;
|
|
value(url: any): void;
|
|
update(): void;
|
|
path(): string;
|
|
path(value: string): void;
|
|
internalChange(eventhandler: Function): void;
|
|
externalChange(eventhandler: Function): void;
|
|
parameter(name: string, value?: string): string;
|
|
value(): string;
|
|
history(value: boolean): void;
|
|
}
|
|
|
|
interface JQueryAddress {
|
|
(): JQuery;
|
|
}
|
|
|
|
interface JQueryStatic {
|
|
address: JQueryAddressStatic;
|
|
}
|
|
|
|
interface JQuery {
|
|
address: JQueryAddress;
|
|
}
|