@types/bootstrap
Advanced tools
Comparing version 5.1.12 to 5.1.13
@@ -46,2 +46,8 @@ // Type definitions for bootstrap 5.1 | ||
): void; | ||
addEventListener( | ||
type: Modal.Events, | ||
listener: (this: Element, ev: Modal.Event) => any, | ||
options?: boolean | AddEventListenerOptions, | ||
): void; | ||
} | ||
@@ -48,0 +54,0 @@ } |
@@ -114,2 +114,16 @@ import BaseComponent, { GetInstanceFactory, GetOrCreateInstanceFactory } from './base-component'; | ||
interface Event extends CustomEvent { | ||
/** | ||
* The modal DOM element. | ||
*/ | ||
target: HTMLElement; | ||
/** | ||
* Only present for `show.bs.modal` and `shown.bs.modal` events when | ||
* the event was triggered by a click. In that case, it's the element | ||
* that was clicked. Otherwise, it's undefined. | ||
*/ | ||
relatedTarget?: HTMLElement; | ||
} | ||
type jQueryInterface = ( | ||
@@ -116,0 +130,0 @@ config?: Partial<Options> | 'toggle' | 'show' | 'hide' | 'handleUpdate' | 'dispose', |
{ | ||
"name": "@types/bootstrap", | ||
"version": "5.1.12", | ||
"version": "5.1.13", | ||
"description": "TypeScript definitions for bootstrap", | ||
@@ -35,4 +35,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bootstrap", | ||
}, | ||
"typesPublisherContentHash": "d95e5b0aa386f3599fe1ab7502893a6c342711d8f5fa156ecb26be64748d4e5c", | ||
"typeScriptVersion": "3.9" | ||
"typesPublisherContentHash": "99baec2cf61ed5257d5f572ec6b0f934b754384991ac4d99e5b5011d9c0f70ac", | ||
"typeScriptVersion": "4.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 20 May 2022 20:01:43 GMT | ||
* Last updated: Mon, 18 Jul 2022 20:32:28 GMT | ||
* Dependencies: [@types/popperjs__core](https://npmjs.com/package/@types/popperjs__core) | ||
@@ -14,0 +14,0 @@ * Global values: `bootstrap` |
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
51305
1283