短通知 + 上部消息

This commit is contained in:
limqhz
2022-12-12 18:05:49 +08:00
parent 44df516337
commit 0efe64d1bb
34 changed files with 1262 additions and 58 deletions

View File

@@ -0,0 +1,25 @@
:: BASE_DOC ::
## API
### Toast Props
name | type | default | description | required
-- | -- | -- | -- | --
direction | String | row | optionsrow/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 | - | optionsloading/success/fail | N
### Toast Events
name | params | description
-- | -- | --
close | \- | \-
destory | \- | \-