Angular Duration-picker Component

A reusable Angular duration-picker component that works with ISO_8601 durations. Requires Bootstrap, css only (no Bootstrap JS or jQuery needed).


installing component form NPM.

npm install --save ngx-duration-picker

Then in your app.module.ts add DurationPickerModule between your imports:

  declarations: [...],
  imports: [
  providers: [...],
  bootstrap: [AppComponent]
export class AppModule { }

Local development

  • On one terminal tab run ng build ngx-duration-picker --watch. This will build the library sources (projects/ngx-duration-picker var wpcf7 = {"api":{"root":"https:\/\/\/wp-json\/","namespace":"contact-form-7\/v1"},"cached":"1"};