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

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