Skip to content

Commit 034d45f

Browse files
author
Droritos
committed
Update angular-notify.d.ts
Bump version 2.0.2 --> 2.5.0
1 parent 16134c1 commit 034d45f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

angular-notify/angular-notify.d.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for angular-notify 2.0.2
1+
// Type definitions for angular-notify 2.5.0
22
// Project: https://github.com/cgross/angular-notify
33
// Definitions by: Suwato <https://github.com/Suwato/DefinitelyTyped>
44
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -51,6 +51,11 @@ declare module angular.cgNotify {
5151
* Optional. Currently center and right are the only acceptable values.
5252
*/
5353
position? : string;
54+
55+
/**
56+
* Optional. The duration (in milliseconds) of the message. A duration of 0 will prevent the message from closing automatically.
57+
*/
58+
duration? : number;
5459

5560
/**
5661
* Optional. Element that contains each notification. Defaults to document.body.
@@ -94,6 +99,11 @@ declare module angular.cgNotify {
9499
* The default element that contains each notification. Defaults to document.body.
95100
*/
96101
container? : any;
102+
103+
/**
104+
* The maximum number of total notifications that can be visible at one time. Older notifications will be closed when the maximum is reached.
105+
*/
106+
maximumOpen? : number;
97107
}):void;
98108

99109
/**

0 commit comments

Comments
 (0)