|
@@ -106,8 +106,8 @@ export default class Notification extends Plugin {
|
|
|
/**
|
|
/**
|
|
|
* Shows a warning notification.
|
|
* Shows a warning notification.
|
|
|
*
|
|
*
|
|
|
- * By default, it fires the {@link #show:warning `show:warning`} event with the given `data`. The event namespace can be extended
|
|
|
|
|
- * using the `data.namespace` option. For example:
|
|
|
|
|
|
|
+ * By default, it fires the {@link module:ui/notification/notification~Notification#event:show:warning `show:warning` event}
|
|
|
|
|
+ * with the given `data`. The event namespace can be extended using the `data.namespace` option. For example:
|
|
|
*
|
|
*
|
|
|
* showWarning( 'Image upload error.', {
|
|
* showWarning( 'Image upload error.', {
|
|
|
* namespace: 'upload:image'
|
|
* namespace: 'upload:image'
|