mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-26 11:12:19 +08:00
Revert "jquery inputmask definition file"
This reverts commit 1d095284d5.
This commit is contained in:
-51
@@ -1,51 +0,0 @@
|
||||
///<reference path="../jquery/jquery.d.ts" />
|
||||
|
||||
interface JQueryInputMaskOptions {
|
||||
mask?: string;
|
||||
alias?: string;
|
||||
placeholder?: string;
|
||||
repeat?: number;
|
||||
greedy?: boolean;
|
||||
skipOptionalPartCharacter?: string;
|
||||
clearIncomplete?: boolean;
|
||||
clearMaskOnLostFocus?: boolean;
|
||||
autoUnmask?: boolean;
|
||||
showMaskOnFocus?: boolean;
|
||||
showMaskOnHover?: boolean;
|
||||
showToolTip?: boolean;
|
||||
isComplete?: (buffer, options) => {};
|
||||
numeric?: boolean;
|
||||
radixPoint?: string;
|
||||
rightAlignNumerics?: boolean;
|
||||
oncomplete?: (value?: any) => void;
|
||||
onincomplete?: () => void;
|
||||
oncleared?: () => void;
|
||||
onUnMask?: (maskedValue, unmaskedValue) => void;
|
||||
onBeforeMask?: (initialValue) => void;
|
||||
onKeyValidation?: (result) => void;
|
||||
onBeforePaste?: (pastedValue) => void;
|
||||
}
|
||||
|
||||
interface inputMaskStatic {
|
||||
defaults: inputMaskDefaults;
|
||||
isValid: (value: string, options: inputMaskStaticDefaults) => boolean;
|
||||
format: (value: string, options: inputMaskStaticDefaults) => boolean;
|
||||
}
|
||||
|
||||
interface inputMaskStaticDefaults {
|
||||
alias: string;
|
||||
}
|
||||
|
||||
interface inputMaskDefaults {
|
||||
aliases;
|
||||
definitions;
|
||||
}
|
||||
|
||||
interface JQueryStatic {
|
||||
inputmask: inputMaskStatic;
|
||||
}
|
||||
|
||||
interface JQuery {
|
||||
inputmask(action: string): any;
|
||||
inputmask(mask: string, options?: JQueryInputMaskOptions): JQuery;
|
||||
}
|
||||
Reference in New Issue
Block a user