Function parseCssTime

  • Parse the number of milliseconds from a CSS time value. Returns the given default value (or undefined) if the value cannot be determined.

    Parameters

    • time: null | string
    • defaultValue: number

    Returns number