Web::DOM::HTMLScriptElement
DOM HTMLScriptElement object
DESCRIPTION
The Web::DOM::HTMLScriptElement class implements the DOM HTMLScriptElement interface.
The class is used by the HTML script element.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, following methods are available:
$string = $el->charset$el->charset ($string)-
Get or set the
charsetattribute value. [HTML] $string = $el->crossorigin$el->crossorigin ($string)-
Get or set the
crossoriginattribute value. [HTML] $boolean = $el->defer$el->defer ($boolean)-
Get or set whether the
deferattribute is specified or not. [HTML] $string = $el->integrity$el->integrity ($string)-
Get or set the
integrityattribute value. [HTML] $boolean = $el->nomodule$el->nomodule ($boolean)-
Get or set whether the
nomoduleattribute is specified or not. [HTML] $string = $el->nonce$el->nonce ($string)-
Get or set the
nonceattribute value. [HTML] $string = $el->src$el->src ($string)-
Get or set the
srcattribute value. [HTML] $string = $el->text$el->text ($string)-
Get or set the child text content of the element. [HTML]
$string = $el->type$el->type ($string)-
Get or set the
typeattribute value. [HTML]
Additionally,
the following obsolete methods are available: event and html_for. [HTML]
SPECIFICATION
- HTML
-
HTML Standard
<https://html.spec.whatwg.org/#the-script-element>.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013-2017 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.