mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Added JQueryMobilePath interface
See http://api.jquerymobile.com/category/methods/path/
This commit is contained in:
Vendored
+25
-1
@@ -298,6 +298,30 @@ interface LoaderOptions {
|
||||
textonly?: boolean;
|
||||
}
|
||||
|
||||
interface JQueryMobilePath {
|
||||
get(url: string): string;
|
||||
getDocumentBase(asParsedObject?: boolean): any;
|
||||
getDocumentUrl(asParsedObject?: boolean): any;
|
||||
getLocation(): string;
|
||||
isAbsoluteUrl(url: string): boolean;
|
||||
isRelativeUrl(url: string): boolean;
|
||||
makeUrlAbsolute(relUrl: string, absUrl: string): string;
|
||||
parseLocation(): ParsedPath;
|
||||
parseUrl(url): ParsedPath;
|
||||
}
|
||||
|
||||
interface ParsedPath {
|
||||
hash: string;
|
||||
host: string;
|
||||
hostname: string;
|
||||
href: string;
|
||||
pathname: string;
|
||||
port: string;
|
||||
protocol: string;
|
||||
search: string;
|
||||
}
|
||||
|
||||
|
||||
interface JQueryMobile extends JQueryMobileOptions {
|
||||
|
||||
version: string;
|
||||
@@ -321,7 +345,7 @@ interface JQueryMobile extends JQueryMobileOptions {
|
||||
|
||||
touchOverflow: any;
|
||||
showCategory: any;
|
||||
path: any;
|
||||
path: JQueryMobilePath;
|
||||
|
||||
dialog: any;
|
||||
popup: any;
|
||||
|
||||
Reference in New Issue
Block a user