The manakai project

Web::DOM::HTMLTrackElement

The DOM HTMLTrackElement track

DESCRIPTION

The Web::DOM::HTMLTrackElement class implements the DOM HTMLTrackElement interface. The class is used by the HTML track element.

METHODS

In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, the following methods are available:

$boolean = $el->default
$el->default ($boolean)

Return or set whether the default attribute is specified or not. [HTML]

$string = $el->kind
$el->kind ($string)

Return or set the kind attribute. [HTML]

$string = $el->label
$el->label ($string)

Return or set the label attribute. [HTML]

$string = $el->src
$el->src ($string)

Return or set the src attribute. [HTML]

$string = $el->srclang
$el->srclang ($string)

Return or set the srclang attribute. [HTML]

CONSTANTS

Constants are exported from the Web::DOM::HTMLTrackElement module by default. In addition, they are accessible as methods of HTMLTrackElement objects.

Following declared type constants used by the ready_state attribute are exported [HTML]: NONE, LOADING, LOADED, and ERROR.

SPECIFICATION

HTML

HTML Standard <http://www.whatwg.org/specs/web-apps/current-work/#the-track-element>.

SEE ALSO

Web::DOM::HTMLElement.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

Copyright 2013 Wakaba <wakaba@suikawiki.org>.

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