File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ declare namespace Noty {
75
75
type Type = 'alert' | 'success' | 'warning' | 'error' | 'info' | 'information' ;
76
76
type Theme = 'mint' | 'sunset' | 'relax' | 'metroui' | 'bootstrap-v3' | 'bootstrap-v4' | 'semanticui' | 'nest' ;
77
77
type Layout = 'top' | 'topLeft' | 'topCenter' | 'topRight' | 'center' | 'centerLeft' | 'centerRight' | 'bottom' | 'bottomLeft' | 'bottomCenter' | 'bottomRight' ;
78
- type Event = 'beforeShow' | 'onShow' | 'afterShow' | 'onClose' | 'afterClose' | 'onHover' | 'onTemplate' ;
78
+ type Event = 'beforeShow' | 'onShow' | 'afterShow' | 'onClose' | 'afterClose' | 'onHover' | 'onTemplate' | 'onClick' ;
79
79
80
80
interface Button {
81
81
new ( text : string , classNames : string , cb : Function , attributes : any ) : Noty . Button
@@ -106,7 +106,8 @@ declare namespace Noty {
106
106
onClose ?: ( ) => void ,
107
107
afterClose ?: ( ) => void ,
108
108
onHover ?: ( ) => void ,
109
- onTemplate ?: ( ) => void
109
+ onTemplate ?: ( ) => void ,
110
+ onClick ?: ( ) => void
110
111
} ;
111
112
sounds ?: {
112
113
sources ?: string [ ] ,
You can’t perform that action at this time.
0 commit comments