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
defaultattribute is specified or not. [HTML] $string = $el->kind$el->kind ($string)-
Return or set the
kindattribute. [HTML] $string = $el->label$el->label ($string)-
Return or set the
labelattribute. [HTML] $string = $el->src$el->src ($string)-
Return or set the
srcattribute. [HTML] $string = $el->srclang$el->srclang ($string)-
Return or set the
srclangattribute. [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
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.