The manakai project

Web::DOM::HTMLIFrameElement

DOM HTMLIFrameElement object

DESCRIPTION

The Web::DOM::HTMLIFrameElement class implements the DOM HTMLIFrameElement interface. The class is used by the HTML iframe element.

METHODS

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

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

Get or set the allow attribute value. [HTML]

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

Get or set whether the allowfullscreen attribute is specified or not. [HTML]

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

Get or set whether the allowpaymentrequest attribute is specified or not. [HTML]

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

Get or set the height attribute value. [HTML]

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

Get or set the name attribute value. [HTML]

$tokens = $el->sandbox
$el->sandbox ($string)

Return the Web::DOM::TokenList object for the sandbox attribute, or set the sandbox attribute to the specified string value. [HTML]

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

Get or set the src attribute value. [HTML]

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

Get or set the srcdoc attribute value. [HTML]

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

Get or set the width attribute value. [HTML]

Additionally, the following obsolete methods are available: align, frameborder, longdesc, marginheight, marginwidth, and scrolling. [HTML]

SPECIFICATION

HTML

HTML Standard <https://html.spec.whatwg.org/#the-iframe-element>.

SEE ALSO

Web::DOM::HTMLElement.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

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

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