Property | Type | Description | |
---|---|---|---|
$events | the JavaScript event handlers. | ||
$format | the date format. | ||
$iconDate | the icon to display when selecting dates | ||
$iconTime | the icon to display when selecting times | ||
$pluginOptions | pluginOptions to be passed to datetimepicker plugin. Defaults are: - maskInput: true, disables the text input mask - pickDate: true, disables the date picker - pickTime: true, disables de time picker - pick12HourFormat: false, enables the 12-hour format time picker - pickSeconds: true, disables seconds in the time picker - startDate: -Infinity, set a minimum date - endDate: Infinityset a maximum date | ||
$selector | string | if provided, then no input field will be rendered. It will write the JS code for the specified selector. |
Method | Description | |
---|---|---|
init ( ) | Initializes the widget. | |
registerClientScript ( ) | Registers required css js files | |
renderField ( ) | Renders the field if no selector has been provided | |
run ( ) | Runs the widget. |
public registerClientScript ( ) |
public renderField ( ) |
public $pluginOptions |
public string $selector | ||
return | string |