@types/bootstrap
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -325,3 +325,3 @@ // Type definitions for Bootstrap 4.1 | ||
export interface CarouselEventHandler<TElement> extends JQuery.Event<TElement, undefined> { | ||
export interface CarouselEventHandler<TElement> extends JQuery.TriggeredEvent<TElement, undefined> { | ||
/** | ||
@@ -343,2 +343,6 @@ * The direction in which the carousel is sliding. | ||
export interface TapEventHandler<TElement> extends JQuery.TriggeredEvent<TElement, undefined> { | ||
relatedTarget: HTMLElement; | ||
} | ||
export type AlertEvent = "close.bs.alert" | "closed.bs.alert"; | ||
@@ -388,7 +392,8 @@ export type CarouselEvent = "slide.bs.carousel" | "slid.bs.carousel"; | ||
on(events: CarouselEvent, handler: JQuery.EventHandlerBase<TElement, CarouselEventHandler<TElement>>): this; | ||
on(events: TapEvent, handler: JQuery.EventHandlerBase<TElement, TapEventHandler<TElement>>): this; | ||
on(events: | ||
AlertEvent | CollapseEvent | DropdownEvent | ModalEvent | | ||
PopoverEvent | ScrollspyEvent | TapEvent | TooltipEvent, | ||
PopoverEvent | ScrollspyEvent | TooltipEvent, | ||
handler: JQuery.EventHandler<TElement>): this; | ||
} | ||
} |
{ | ||
"name": "@types/bootstrap", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "TypeScript definitions for Bootstrap", | ||
@@ -14,2 +14,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
@@ -21,7 +22,7 @@ "type": "git", | ||
"dependencies": { | ||
"popper.js": "^1.14.1", | ||
"@types/jquery": "*" | ||
"@types/jquery": "*", | ||
"popper.js": "^1.14.1" | ||
}, | ||
"typesPublisherContentHash": "ada89b810b4814d19aa08c4bace0c888b0eadc95a9c9bc6fc4907233eff9c3dd", | ||
"typesPublisherContentHash": "efb7b21de14b683b53423fb338aae84985ffff97bd25c051adaa3f3064ae120e", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,4 +11,4 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 06 Jul 2018 21:56:16 GMT | ||
* Dependencies: popper.js, jquery | ||
* Last updated: Wed, 05 Dec 2018 23:53:28 GMT | ||
* Dependencies: @types/popper.js, @types/jquery | ||
* Global values: Bootstrap | ||
@@ -15,0 +15,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16114
336