Skip to content

Repository files navigation

DurationDirective

An example project, that showcases a directive that handles duration inputs in forms.

It converts inputs like 150, 15m, 1h26, 1:45, 1 45, 1.5 into minutes as the output of the formfield, and standerdizes the displayed value of the formfield to 1 h 24 m format

Demo

You can find a working demo here

About

An Angular directive to help with string duration inputs, like "3h25m", and convert them to minutes in numbers as the output.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages