end method

Returns the end of the time range by using the specified index.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.11

Syntax

var endTime = TimeRanges.end(index);

Parameters

index [in]

Type: number

The zero-based index of the item in the collection.

Return value

Type: any

The end position of the range, in seconds, from the beginning of the timeline.

Exceptions

ExceptionCondition
IndexSizeError

The specified index is out of range. Versions earlier than a Windows Store app using JavaScript will throw the exception as INDEX_SIZE_ERR.

Standards information

Remarks

Time ranges do not overlap. The end time is guaranteed to be less than the start of the range that follows it.

See also

TimeRanges
Reference
start
length

 

 

Show:
© 2014 Microsoft