[uikit] When selecting a modal element it is also possible to pass ModalOptions (#13510)

https://github.com/uikit/uikit/blob/5d0ce9baace9b824fdc65b09da0f1a17cddce2b3/src/js/core/modal.js#L15

Any of the possible modal options (bgclose, center, etc.) can be sent in a json as a second parameter when selecting a modal.
This commit is contained in:
Alejo Arias
2016-12-27 20:14:18 -05:00
committed by Andy
parent 2a6e1c6be2
commit 5cb114df19
+1 -1
View File
@@ -150,7 +150,7 @@ declare namespace UIkit {
* }
* </code></pre>
*/
(selector: string|JQuery): ModalElement;
(selector: string|JQuery, options?: ModalOptions): ModalElement;
}
/**
* Create a smooth off-canvas sidebar that slides in and out of the page