Skip to content

Commit 17de6d0

Browse files
author
Sergei
committed
more comments
1 parent 3b746b2 commit 17de6d0

File tree

8 files changed

+9
-8
lines changed
  • examples

8 files changed

+9
-8
lines changed

examples/advanced_multiple_libs/src/components/Hello.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
},
131131
notifications: {
132132
showSuccessMsg: {
133-
type: VueNotifications.types.success,
133+
type: VueNotifications.types.success, // or just 'success' or any other string
134134
title: 'Hello there',
135135
message: 'That\'s the success!'
136136
},
@@ -162,6 +162,7 @@
162162
warn: TOASTS[this.currentLib]
163163
}
164164
165+
//Changing options dynamically
165166
VueNotifications.setPluginOptions(options)
166167
}
167168
}

examples/simple_with_izitoast/src/components/Hello.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
notifications: {
3434
showSuccessMsg: {
35-
type: VueNotifications.types.success,
35+
type: VueNotifications.types.success, // or just 'success' or any other string
3636
title: 'Hello there',
3737
message: 'That\'s the success!'
3838
},

examples/simple_with_mini_toatr/src/components/Hello.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
notifications: {
3434
showSuccessMsg: {
35-
type: VueNotifications.types.success,
35+
type: VueNotifications.types.success, // or just 'success' or any other string
3636
title: 'Hello there',
3737
message: 'That\'s the success!'
3838
},

examples/simple_with_noty/src/components/Hello.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
notifications: {
3434
showSuccessMsg: {
35-
type: VueNotifications.types.success,
35+
type: VueNotifications.types.success, // or just 'success' or any other string
3636
title: 'Hello there',
3737
message: 'That\'s the success!'
3838
},

examples/simple_with_swal/src/components/Hello.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
notifications: {
3434
showSuccessMsg: {
35-
type: VueNotifications.types.success,
35+
type: VueNotifications.types.success, // or just 'success' or any other string
3636
title: 'Hello there',
3737
message: 'That\'s the success!'
3838
},

examples/simple_with_toastr/src/components/Hello.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
notifications: {
3434
showSuccessMsg: {
35-
type: VueNotifications.types.success,
35+
type: VueNotifications.types.success, // or just 'success' or any other string
3636
title: 'Hello there',
3737
message: 'That\'s the success!'
3838
},

examples/simple_with_vue_easy_toast/src/components/Hello.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
notifications: {
3434
showSuccessMsg: {
35-
type: VueNotifications.types.success,
35+
type: VueNotifications.types.success, // or just 'success' or any other string
3636
title: 'Hello there',
3737
message: 'That\'s the success!'
3838
},

examples/simple_with_vue_toasted/src/components/Hello.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
notifications: {
3434
showSuccessMsg: {
35-
type: VueNotifications.types.success,
35+
type: VueNotifications.types.success, // or just 'success' or any other string
3636
title: 'Hello there',
3737
message: 'That\'s the success!'
3838
},

0 commit comments

Comments
 (0)