Open a calendar in a "dialog" box.
Arguments:
| dateText | String | |
|---|---|---|
| The initial date for the calendar. | ||
| onSelect | Function | |
| A callback function when a date is selected. The function receives the date text and calendar instance as parameters. | ||
| settings | Options | |
| The new settings for the calendar. | ||
| pos | Number[2] | |
| The position of the top/left of the dialog as [x, y]. If not specified the dialog is centered on the screen. | ||