mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
toasts: make default duration 5s (#31109)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
parent
37ef4e4b5e
commit
91c11d6465
@ -48,7 +48,7 @@ const DefaultType = {
|
||||
const Default = {
|
||||
animation: true,
|
||||
autohide: true,
|
||||
delay: 500
|
||||
delay: 5000
|
||||
}
|
||||
|
||||
const SELECTOR_DATA_DISMISS = '[data-dismiss="toast"]'
|
||||
|
@ -309,7 +309,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
|
||||
<td><code>delay</code></td>
|
||||
<td>number</td>
|
||||
<td>
|
||||
<code>500</code>
|
||||
<code>5000</code>
|
||||
</td>
|
||||
<td>Delay hiding the toast (ms)</td>
|
||||
</tr>
|
||||
|
@ -24,6 +24,10 @@ toc: true
|
||||
|
||||
- Renamed `whiteList` option to `allowList`
|
||||
|
||||
#### Toasts
|
||||
|
||||
- Make default toast duration 5 seconds
|
||||
|
||||
#### Tooltips
|
||||
|
||||
- Renamed `whiteList` option to `allowList`
|
||||
|
Loading…
x
Reference in New Issue
Block a user