mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-04 20:54:36 +00:00
@trivial - modal commands can take 2nd argument as relatedTarget and use as event property
This commit is contained in:
2
types/bootstrap/index.d.ts
vendored
2
types/bootstrap/index.d.ts
vendored
@@ -87,7 +87,7 @@ interface TransitionEventNames {
|
||||
interface JQuery {
|
||||
modal(options?: ModalOptions): JQuery;
|
||||
modal(options?: ModalOptionsBackdropString): JQuery;
|
||||
modal(command: string): JQuery;
|
||||
modal(command: string, relatedTarget?: Element): JQuery;
|
||||
|
||||
dropdown(): JQuery;
|
||||
dropdown(command: string): JQuery;
|
||||
|
||||
Reference in New Issue
Block a user