Skip to content

Commit b342504

Browse files
authored
Update README.md
1 parent 9123eac commit b342504

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,4 +394,22 @@ bDialog.toast('your message',{
394394
395395
bDialog.mark('please wait for a moment...');//show a mask and custom text
396396
```
397+
- **toast**
398+
*param*
399+
- message
400+
- params
401+
```js
402+
//show a corner toast dialog, default position on bottomRight
403+
bDialog.toast('your message');
404+
bDialog.toast('your message',{
405+
//toast dialog type
406+
messageType : 'warning',
407+
//show dialog in topleft position
408+
position : 'topLeft',
409+
//don't show close button
410+
dialogCloseButton : false,
411+
//auto close dialog time(second),default 3s
412+
closeTime : 0
413+
});
414+
```
397415

0 commit comments

Comments
 (0)