Web::DOM::HTMLSourceElement
DOM HTMLSourceElement
object
DESCRIPTION
The Web::DOM::HTMLSourceElement
class implements the DOM HTMLSourceElement
interface.
This class is used by HTML source
elements.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, the following methods are available:
$string = $el->media
$el->media ($string)
-
Return or set the
media
attribute. [HTML] $string = $el->sizes
$el->sizes ($string)
-
Return or set the
sizes
attribute. [HTML] $string = $el->src
$el->src ($string)
-
Return or set the
src
attribute. [HTML] $string = $el->srcset
$el->srcset ($string)
-
Return or set the
srcset
attribute. [HTML] $string = $el->type
$el->type ($string)
-
Return or set the
type
attribute. [HTML]
SPECIFICATION
- HTML
-
HTML Standard
<http://www.whatwg.org/specs/web-apps/current-work/>
.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013-2014 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.