短通知 + 上部消息
This commit is contained in:
25
components/toast/README.en-US.md
Normal file
25
components/toast/README.en-US.md
Normal file
@@ -0,0 +1,25 @@
|
||||
:: BASE_DOC ::
|
||||
|
||||
## API
|
||||
|
||||
### Toast Props
|
||||
|
||||
name | type | default | description | required
|
||||
-- | -- | -- | -- | --
|
||||
direction | String | row | options:row/column | N
|
||||
duration | Number | 2000 | \- | N
|
||||
external-classes | Array | - | `['t-class']` | N
|
||||
icon | String | - | \- | N
|
||||
message | String / Slot | - | \- | N
|
||||
overlay-props | Object | {} | \- | N
|
||||
placement | String | middle | options: top/middle/bottom | N
|
||||
prevent-scroll-through | Boolean | false | \- | N
|
||||
show-overlay | Boolean | false | \- | N
|
||||
theme | String | - | options:loading/success/fail | N
|
||||
|
||||
### Toast Events
|
||||
|
||||
name | params | description
|
||||
-- | -- | --
|
||||
close | \- | \-
|
||||
destory | \- | \-
|
||||
Reference in New Issue
Block a user