Angular TimePicker Auto Switch to Minutes.
Loading...

Angular TimePicker: Auto Switch to Minutes

Enable option Auto Switch to Minutes.

A live Angular example of jqxTimePicker, the jQWidgets TimePicker component, with its complete source code below. It is one of 4 jqxTimePicker demos for Angular.

jqxTimePicker API used in this demo

Source code

To run it in your own app, install the package with npm install jqwidgets-ng, add these files to a standalone Angular CLI app, and add jqx.base.css and a theme to the styles in angular.json.

app.ts

import { Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { jqxTimePickerModule } from 'jqwidgets-ng/jqxtimepicker';

@Component({
    imports: [CommonModule, FormsModule, jqxTimePickerModule],
    selector: 'app-root',
    templateUrl: './app.html'
})

export class App {
    autoSwitchToMinutes: boolean = true;
}

app.html

<jqxTimePicker [width]="400" [autoSwitchToMinutes]="autoSwitchToMinutes"></jqxTimePicker>

Learn more

More Angular TimePicker demos