All Components

Incremental Steps

By default, the TimePicker increments or decrements each part of its time values by one step. To change the default setup, use the steps property.

The available options are:

  • hour: Number—Controls the incremental step of the hour value.
  • minute: Number—Controls the incremental step of the minute value.
  • second: Number—Controls the incremental step of the second value.
@Component({
    selector: 'my-app',
    template: `
        <div class="example-wrapper">
            <p>Select a date:</p>
            <kendo-timepicker
                [format]="'HH:mm:ss'"
                [steps]="steps"
                [value]="value"
            ></kendo-timepicker>
            <p>(↑ to increment and ↓ to decrement the value)</p>
        </div>
    `
})

class AppComponent {
    public steps: any = { hour: 2, minute: 15, second: 30 };
    public value: Date = new Date(2000, 2, 10, 10, 30);
}
In this article