-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added typescript declaration as kindly created by @jsobell
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
export declare class ValidationStrategy { | ||
actionValidProperty: (element: any, property: any) => void; | ||
actionInvalidProperty: (element: any, property: any, error: any) => void; | ||
} | ||
export declare class InlineStrategy extends ValidationStrategy { | ||
_currentCount: number; | ||
_getElementValidatorId: (element: any) => string; | ||
_createErrorElement: (message: any, element: any) => void; | ||
_removeErrorElement: (element: any) => void; | ||
_addElementError: (message: any, element: any) => void; | ||
actionValidProperty: (element: any, property: any) => void; | ||
actionInvalidProperty: (element: any, property: any, error: any) => void; | ||
} | ||
|
||
export declare class ClassHelper { | ||
static hasClass: (element: any, className: any) => any; | ||
static addClass: (element: any, className: any) => void; | ||
static removeClass: (element: any, className: any) => void; | ||
} | ||
|
||
export declare function configure(aurelia: any): void; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters