mirror of https://github.com/twbs/bootstrap.git
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 = {
|
const Default = {
|
||||||
animation: true,
|
animation: true,
|
||||||
autohide: true,
|
autohide: true,
|
||||||
delay: 500
|
delay: 5000
|
||||||
}
|
}
|
||||||
|
|
||||||
const SELECTOR_DATA_DISMISS = '[data-dismiss="toast"]'
|
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><code>delay</code></td>
|
||||||
<td>number</td>
|
<td>number</td>
|
||||||
<td>
|
<td>
|
||||||
<code>500</code>
|
<code>5000</code>
|
||||||
</td>
|
</td>
|
||||||
<td>Delay hiding the toast (ms)</td>
|
<td>Delay hiding the toast (ms)</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -24,6 +24,10 @@ toc: true
|
||||||
|
|
||||||
- Renamed `whiteList` option to `allowList`
|
- Renamed `whiteList` option to `allowList`
|
||||||
|
|
||||||
|
#### Toasts
|
||||||
|
|
||||||
|
- Make default toast duration 5 seconds
|
||||||
|
|
||||||
#### Tooltips
|
#### Tooltips
|
||||||
|
|
||||||
- Renamed `whiteList` option to `allowList`
|
- Renamed `whiteList` option to `allowList`
|
||||||
|
|
Loading…
Reference in New Issue