mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
🤖 Merge PR #44681 update(bootstrap): 4.5 minor version by @peterblazejewicz
* update(bootstrap): 4.5 minor version
- correct ScrollSpy.target definition
- minor version bump
see:
22f75ca2e3
https://github.com/twbs/bootstrap/releases/tag/v4.5.0 (JavaScript para)
Thanks!
* Update types/bootstrap/bootstrap-tests.ts
thx to @denisname for spotting this!
Co-authored-by: denisname <denisname@users.noreply.github.com>
* Update types/bootstrap/index.d.ts
thx to @denisname for suggestion!
Co-authored-by: denisname <denisname@users.noreply.github.com>
Co-authored-by: denisname <denisname@users.noreply.github.com>
This commit is contained in:
parent
5cbafd3e78
commit
3c19dc1b87
@ -244,6 +244,10 @@ $("#scrollspy").scrollspy({
|
||||
target: document.getElementById("navbar-example2") as HTMLElement
|
||||
});
|
||||
|
||||
$("#scrollspy").scrollspy({
|
||||
target: $("#navbar-example2"),
|
||||
});
|
||||
|
||||
$("#scrollspy").scrollspy({
|
||||
method: "position"
|
||||
});
|
||||
|
||||
4
types/bootstrap/index.d.ts
vendored
4
types/bootstrap/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for Bootstrap 4.3
|
||||
// Type definitions for Bootstrap 4.5
|
||||
// Project: https://github.com/twbs/bootstrap/, https://getbootstrap.com
|
||||
// Definitions by: denisname <https://github.com/denisname>
|
||||
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
||||
@ -223,7 +223,7 @@ export interface ScrollspyOption {
|
||||
*
|
||||
* @default ""
|
||||
*/
|
||||
target?: string | Element;
|
||||
target?: string | JQuery<Element> | Element;
|
||||
}
|
||||
|
||||
export interface ToastOption {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user