@types/bootstrap
Advanced tools
Comparing version 4.0.1 to 4.1.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for Bootstrap 4.0 | ||
// Type definitions for Bootstrap 4.1 | ||
// Project: https://github.com/twbs/bootstrap/ | ||
@@ -59,2 +59,10 @@ // Definitions by: denisname <https://github.com/denisname> | ||
/** | ||
* Use to easily control the position of the carousel. It accepts the keywords prev or next, which alters the slide position | ||
* relative to its current position. Alternatively, use `data-slide-to` to pass a raw slide index to the carousel. | ||
* | ||
* @default false | ||
*/ | ||
slide?: "next" | "prev" | false; | ||
/** | ||
* If set to "hover", pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave. | ||
@@ -120,2 +128,17 @@ * If set to false, hovering over the carousel won't pause it. | ||
boundary?: Popper.Boundary | HTMLElement; | ||
/** | ||
* Reference element of the dropdown menu. Accepts the values of 'toggle', 'parent', or an HTMLElement reference. | ||
* For more information refer to Popper.js's referenceObject docs. | ||
* | ||
* @default "toggle" | ||
*/ | ||
reference?: "toggle" | "parent" | HTMLElement; | ||
/** | ||
* By default, we use Popper.js for dynamic positioning. Disable this with 'static'. | ||
* | ||
* @default "dynamic" | ||
*/ | ||
display?: "dynamic" | "static"; | ||
} | ||
@@ -159,2 +182,4 @@ | ||
* set to the element that the popover is attached to. | ||
* | ||
* @default "" | ||
*/ | ||
@@ -232,3 +257,3 @@ content?: string | Element | ((this: Element) => string | Element); | ||
* | ||
* @default "top" | ||
* @default tooltip: "top", popover: "right" | ||
*/ | ||
@@ -235,0 +260,0 @@ placement?: Placement | ((this: TooltipInstance<this>, node: HTMLElement, trigger: Element) => Placement); |
{ | ||
"name": "@types/bootstrap", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "TypeScript definitions for Bootstrap", | ||
@@ -23,4 +23,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "4083d77e95208f40c7d9239c42d65c638b6f972fae50e487462e12fa4b388a67", | ||
"typesPublisherContentHash": "52198f1da3b5105e7f367fc39481a6c763fa3e03671ae65cead0033acde22cb5", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 15 Mar 2018 23:17:55 GMT | ||
* Last updated: Wed, 11 Apr 2018 23:19:56 GMT | ||
* Dependencies: popper.js, jquery | ||
@@ -14,0 +14,0 @@ * Global values: Bootstrap |
Sorry, the diff of this file is not supported yet
16273
332