mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Added jquery masked input typings
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
/// <reference path="../jquery/jquery.d.ts" />
|
||||
|
||||
interface Caret {
|
||||
begin: number;
|
||||
end: number;
|
||||
}
|
||||
|
||||
interface JQuery {
|
||||
caret(): Caret;
|
||||
caret(begin: number, end?: number);
|
||||
|
||||
mask(format: string): JQuery;
|
||||
unmask(): JQuery;
|
||||
}
|
||||
|
||||
interface JQueryMaskedInputOptions {
|
||||
definitions: {
|
||||
[entry: string]: string;
|
||||
};
|
||||
}
|
||||
|
||||
interface JQueryStatic {
|
||||
mask: JQueryMaskedInputOptions;
|
||||
}
|
||||
Reference in New Issue
Block a user