NAME

Message::DOM::WebVTTCue - DOM |WebVTTCue| object


DESCRIPTION

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


METHODS

The Message::DOM::WebVTTCue object has following methods, in addition to the methods in the the Message::DOM::TextTrackCue manpage:

$value = $cue->vertical
$cue->vertical ($new_value)

Get or set the writing direction of the cue. [WEBVTT]

$bool = $cue->snap_to_lines
$cue->snap_to_lines ($new_bool)

Get or set the snap-to-lines flag of the cue. [WEBVTT]

$int = $cue->line
$cue->line ($new_int)

Get the computed line position, or set the line position, of the cue. [WEBVTT]

$int = $cue->size
$cue->size ($new_int)

Get or set the text position of the cue. [WEBVTT]

$value = $cue->align
$cue->align ($new_value)

Get or set the alignment of the cue. [WEBVTT]

$text = $cue->text
$cue->text ($new_text)

Get or set the text of the cue, in raw unparsed format. [WEBVTT]

$cue->get_cue_as_html

XXX Not implemented yet.


SEE ALSO

[HTML] HTML Standard <http://www.whatwg.org/specs/web-apps/current-work/#texttrackcue>.

[WEBVTT] WebVTT Standard <http://dev.w3.org/html5/webvtt/>.

the Message::DOM::TextTrackCue manpage.


AUTHOR

Wakaba <wakaba@suikawiki.org>.


LICENSE

Copyright 2012-2013 Wakaba <wakaba@suikawiki.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.