mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[bootstrap] False is valid for interval option in carousel (#27078)
* [bootstrap] False is valid for interval in carousel * [bootstrap] Keep consistant spacing
This commit is contained in:
parent
91692ac5ea
commit
3aa3328ffd
@ -56,6 +56,10 @@ $("#carousel").carousel({
|
||||
pause: false,
|
||||
});
|
||||
|
||||
$("#carousel").carousel({
|
||||
interval: false,
|
||||
});
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// Collapse
|
||||
// --------------------------------------------------------------------------------------
|
||||
|
||||
2
types/bootstrap/index.d.ts
vendored
2
types/bootstrap/index.d.ts
vendored
@ -46,7 +46,7 @@ export interface CarouselOption {
|
||||
*
|
||||
* @default 5000
|
||||
*/
|
||||
interval?: number;
|
||||
interval?: false | number;
|
||||
|
||||
/**
|
||||
* Whether the carousel should react to keyboard events.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user