monster.ui.timepicker()

Syntax

monster.ui.timepicker(target[, options]);

Parameters

  • target (mandatory)

Type: jQuery object

Input or select element on which the method will be applied.

  • options (optional)

Type: Object

Default: js { timeFormat: is12hMode ? 'g:ia' : 'G:i', lang: monster.apps.core.i18n.active().timepicker }

Let you specify a map of options for the Timepicker. You can consult the full list here: https://github.com/jonthornton/jquery-timepicker#options By default

Description

This helper will transform a field into a jQuery Timepicker element. It will automatically use the time format that the user has chosen in his Monster-UI Settings.

Edit this page here