Message::DOM::TextTrackCueList
TextTrackCueList
objectThe Message::DOM::TextTrackCueList
class implements the DOM TextTrackCueList
interface.
The Message::DOM::TextTrackCueList
object has following methods:
$length = $list->length
Get the number of items in the list.
$cue = $list->get_cue_by_id ($cue)
Get the cue whose identifier is equal to the specified string,
if any,
or undef
.
In addition, the items in the list, i.e. the cues contained in the list, can be accessed as if the list were an array reference:
$cue = $list->[0];
$cue = $list->[1];
...
$cue = $list->[$list->lenght - 1];
HTML Standard <https://www.whatwg.org/specs/web-apps/current-work/#texttrackcuelist>
.
Wakaba <wakaba@suikawiki.org>.
Copyright 2012 Wakaba <wakaba@suikawiki.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.