TimePicker is a dialog picker is used to select a single time (hours:minutes) with suitable and interactive interface.
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.
height property – Sets or gets the height.width property – Sets or gets the width.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.
import { Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { jqxButtonModule } from 'jqwidgets-ng/jqxbuttons';
import { jqxTimePickerModule } from 'jqwidgets-ng/jqxtimepicker';
import { jqxFormModule } from 'jqwidgets-ng/jqxform';
@Component({
imports: [CommonModule, FormsModule, jqxButtonModule, jqxTimePickerModule, jqxFormModule],
selector: 'app-root',
templateUrl: './app.html'
})
export class App {
}
<jqxTimePicker [width]="400" [height]="400">
</jqxTimePicker>