@trivial - modal commands can take 2nd argument as relatedTarget and use as event property

This commit is contained in:
Vitalie Andries 2018-02-05 15:35:26 +02:00
parent 4bf37b6049
commit 2cdc9ea071

View File

@ -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;