open

Shows the closed calendar or time view popup, depending on the string passed as argument. If the popups are opened the method does not do anything.
Available string are:

  • calendar - opens the calendar popup (hides the timeview)
  • timeview - opens the opened time view popup (hides the calendar)

<input id="picker" ></input>

<script type="text/javascript">
    $(function () {
        $("#picker").shieldTimePicker({
        });
    });

    $("#picker").swidget().open("calendar"); // shows the calendar popup if it is hidden.
    $("#picker").swidget().open("timeview"); // shows the time view popup if it is hidden.

</script>