ngx-duration-picker is a reusable angular duration picker component that works with ISO_8601 durations. Requires Bootstrap and CSS only (no Bootstrap JS or jQuery needed).
simple time picker angular, duration picker angular material, best time picker angular, bootstrap time picker in angular, time duration in angular
Available fields:
- years
- months
- weeks
- days
- hours
- minutes
- seconds
How to make use of it:
Installation:
npm install --save ngx-duration-picker
Then in your app.module.ts
add DurationPickerModule
between your imports:
@NgModule({ declarations: [...], imports: [ DurationPickerModule, ... ], providers: [...], bootstrap: [AppComponent] }) export class AppModule { }
You can optionally specify:
timestamp
for the duration in millisecondsseconds
for the duration in seconds- custom string as described in
previewFormat
option
duration picker for angular, ngx-duration-picker Plugin/Github, duration input angular, time dropdown in angular
See Demo And Download
Official Website(FrancescoBorzi): Click Here
This superior jQuery/javascript plugin is developed by FrancescoBorzi. For extra advanced usage, please go to the official website.