Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Custom Inputs
Select
Components
Components
78
Micro Charts
Navigation
Libraries
Content Editor
Data View
Form Builder
Image Designer
Kanban Board
PDF Viewer
Video Player
Latest npm version of @ngstarter-ui/componentsWeekly npm downloads of @ngstarter-ui/components
Buy License

Timepicker

The Timepicker component is a form control for choosing a time of day. Use input[ngsTimepicker] inside one ngs-form-field, connect it to ngs-timepicker, and add ngs-timepicker-toggle as a suffix button when users should open the dropdown from an icon.

NgsTimepicker

The ngs-timepicker component itself.

PropTypeDefault
disabled
Whether the timepicker is disabled.
booleanfalse
interval
The interval between time options in minutes.
number30
EventDescription
openedEvent emitted when the timepicker panel is opened.
closedEvent emitted when the timepicker panel is closed.

NgsTimepickerInput

Directive applied to an input element to connect it with a ngs-timepicker.

PropTypeDefault
ngsTimepicker
The timepicker instance to connect with the input.
Timepicker
disabled
Whether the input is disabled.
booleanfalse
min
The minimum selectable time. Accepts a Date or a time string.
Date | string
max
The maximum selectable time. Accepts a Date or a time string.
Date | string
openOnClick
Whether focusing or clicking the input opens the timepicker panel.
booleantrue