Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryZ authored Sep 16, 2017
1 parent 9123eac commit b342504
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,4 +394,22 @@ bDialog.toast('your message',{
bDialog.mark('please wait for a moment...');//show a mask and custom text
```
- **toast**
*param*
- message
- params
```js
//show a corner toast dialog, default position on bottomRight
bDialog.toast('your message');
bDialog.toast('your message',{
//toast dialog type
messageType : 'warning',
//show dialog in topleft position
position : 'topLeft',
//don't show close button
dialogCloseButton : false,
//auto close dialog time(second),default 3s
closeTime : 0
});
```

0 comments on commit b342504

Please sign in to comment.