Home

namespace
ml-duration

Source: directives/ml-duration.directive.js:4

angular attribute directive; parses ISO duration (xs:duration) strings.

Transcludes markup, and creates a new scope with the following properties:

  • years, months, weeks, days, hours, minutes, seconds
  • toString: a function that returns the original text serialization of the duration

see ml-metrics for an example

Generated by JSDoc 3.3.3 on February 11, 2016.