Skip to main content

css

adds style classes to TimePicker

css?: string;

Example

<style>    .bg-grey {        background: #efefef;    }</style>
var timepicker = new dhx.Timepicker("timepicker", {    css: "dhx_timepicker--bordered bg-grey"});

Related sample: Timepicker. Custom Style

Note, that the DHTMLX library provides a set of own CSS classes that you can also apply to change the appearance of TimePicker:

var timepicker = new dhx.Timepicker("timepicker", {    css: "dhx_widget--bg-gray"});