Skip to content

Commit 1bf6039

Browse files
committed
Update dependencies
1 parent 9ae347b commit 1bf6039

File tree

3 files changed

+95
-101
lines changed

3 files changed

+95
-101
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ In general, use CSS variables - the following (self-explanatory) vars are expose
141141
padding: var(--toastMsgPadding, 0.75rem 0.5rem);
142142
}
143143

144-
._toastProgressBar {
144+
._toastBar {
145145
background: var(--toastProgressBackground, rgba(33,150,243,0.75));
146146
}
147147
```
@@ -318,8 +318,8 @@ toast.set({ id, msg: 'Waddup!' })
318318

319319
#### Pausable Toasts
320320

321-
Progress bar tweens can now be paused when the mouse cursor (on desktop) is hovered on the toast item.
322-
This behaviour by default is **disabled**. To enable, set option `pausable: true`.
321+
Progress bar tweens can now be paused when the mouse cursor (on desktop) is hovered over the toast item.
322+
This behaviour is **disabled** by default. To enable, set option `pausable: true`.
323323

324324
```js
325325
toast.push('Hover me!', { pausable: true })
@@ -364,8 +364,8 @@ const options = {
364364
## Toast Methods
365365

366366
```js
367-
const id = toast.push(message, { ...options })
368-
toast.pop(id) // accepts a filter function too
367+
const id = toast.push(msg, { ...options })
368+
toast.pop(id || fn || undefined)
369369
toast.set(id, { ...options })
370370
```
371371

0 commit comments

Comments
 (0)