mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
added jquery dependency and enhanced interface
This commit is contained in:
1 parent
8f88052a53
commit
1dab5f7be3
1 file changed
+7
-2
+7
-2
@@ -3,12 +3,15 @@
|
||||
// Definitions by: Louis Grignon <https://github.com/lgrignon>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../jquery/jquery.d.ts"/>
|
||||
|
||||
interface PNotifyStack {
|
||||
dir1?: string;
|
||||
dir2?: string;
|
||||
push?: string;
|
||||
spacing1?: number;
|
||||
spacing2?: number;
|
||||
context?: JQuery
|
||||
}
|
||||
|
||||
interface PNotifyLabel {
|
||||
@@ -161,8 +164,10 @@ interface PNotifyOptions {
|
||||
}
|
||||
|
||||
interface PNotify {
|
||||
update(options?: PNotifyOptions);
|
||||
remove();
|
||||
elem: JQuery;
|
||||
|
||||
update(options?: PNotifyOptions): void;
|
||||
remove(): void;
|
||||
}
|
||||
|
||||
interface PNotifyConstructor {
|
||||
|
||||
Reference in new issue
Block a user