File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 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 /**
You can’t perform that action at this time.
0 commit comments