manakai

Message::DOM::TextTrackCueList

DOM TextTrackCueList object

DESCRIPTION

The Message::DOM::TextTrackCueList class implements the DOM TextTrackCueList interface.

METHODS

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];

SEE ALSO

HTML Standard <https://www.whatwg.org/specs/web-apps/current-work/#texttrackcuelist>.

Message::DOM::TextTrackCueList, Message::DOM::TextTrack.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

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.