Skip to content

Commit

Permalink
chore(*): Release-1.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Sep 26, 2019
1 parent 5b460ac commit 9b68c52
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
22 changes: 11 additions & 11 deletions docs/notification/index.en-us.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Noticfication
# Notification

- category: Components
- family: Feedback
Expand All @@ -22,14 +22,14 @@ To display a notification message at any of the four corners of the viewport. Ty
## API


- `Noticfication.success(config)`
- `Noticfication.error(config)`
- `Noticfication.warning(config)`
- `Noticfication.notice(config)`
- `Noticfication.help(config)`
- `Noticfication.open(config)`
- `Noticfication.close(key: String)`
- `Noticfication.destroy()`
- `Notification.success(config)`
- `Notification.error(config)`
- `Notification.warning(config)`
- `Notification.notice(config)`
- `Notification.help(config)`
- `Notification.open(config)`
- `Notification.close(key: String)`
- `Notification.destroy()`

The properties of config are as follows:

Expand All @@ -47,10 +47,10 @@ The properties of config are as follows:

`notification` also provides a global `config()` method that can be used for specifying the default options. Once this method is used, all the notification boxes will take into account these globally defined options when displaying.

- `Noticfication.config(options)`
- `Notification.config(options)`

```js
Noticfication.config({
Notification.config({
placement: 'bottomRight',
duration: 3000,
});
Expand Down
22 changes: 11 additions & 11 deletions docs/notification/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Noticfication
# Notification

- category: Components
- family: Feedback
Expand All @@ -23,14 +23,14 @@
## API


- `Noticfication.success(config)`
- `Noticfication.error(config)`
- `Noticfication.warning(config)`
- `Noticfication.notice(config)`
- `Noticfication.help(config)`
- `Noticfication.open(config)`
- `Noticfication.close(key: String)`
- `Noticfication.destroy()`
- `Notification.success(config)`
- `Notification.error(config)`
- `Notification.warning(config)`
- `Notification.notice(config)`
- `Notification.help(config)`
- `Notification.open(config)`
- `Notification.close(key: String)`
- `Notification.destroy()`

config 参数如下:

Expand All @@ -48,10 +48,10 @@ config 参数如下:

还提供了一个全局配置方法,在调用前提前配置,全局一次生效。

- `Noticfication.config(options)`
- `Notification.config(options)`

```js
Noticfication.config({
Notification.config({
placement: 'bottomRight',
duration: 3000,
});
Expand Down

0 comments on commit 9b68c52

Please sign in to comment.