jtsage/jquery-mobile-datebox — Issue #96: Missing distinction between skin and widget type...
Author: vaab
Created: 2011-10-11 07:39:03+00:00
State: open

It would seem better if `data-role` would help select the type of the widget (date picker or time picker ...) and that the `mode` option would allow to choose the skin: "flip", "slide", ...

This would allow to share the same option dictionary between both widgets.

This exact problem is more clear with the global configuration, where it doesn't make sens to change the type of the widget globally, but it does to change the skin globally. (ie: I won't be globally setting that all my widgets (date and time boxes) will become only timeboxes).

```html

```

Does this remark makes any sense to other people ?