Update pickadate.d.ts typing for container option

Pickadate.js allows for the container option to be either a selector string
or DOM element. The latter is useful in many situations. See this line in the source:
https://github.com/amsul/pickadate.js/blob/dev/lib/picker.js#L119
This commit is contained in:
Adi Dahiya
2014-10-09 16:55:08 -04:00
committed by Adi Dahiya
parent 6ba439cd01
commit bf1b5b2b5a
+4 -4
View File
@@ -141,8 +141,8 @@ declare module Pickadate {
// Disable dates (elements can be Dates, [YEAR, MONTH, DATE] arrays, or integers of the week)
disable?: any[];
// Root container selector
container?: string
// Root container selector (string) or element (JQuery)
container?: any;
// Events
onStart?: () => void;
@@ -238,8 +238,8 @@ declare module Pickadate {
// Disable dates (elements can be Dates, [YEAR, MONTH, DATE] arrays, or integers of the week)
disable?: any[];
// Root container selector
container?: string
// Root container selector (string) or element (JQuery)
container?: any;
// Events
onStart?: () => void;