NAME
HTML::Object::DOM::Element::FencedFrame - HTML Object DOM FencedFrame Class
SYNOPSIS
use HTML::Object::DOM::Element::FencedFrame;
my $fencedframe = HTML::Object::DOM::Element::FencedFrame->new ||
die( HTML::Object::DOM::Element::FencedFrame->error );
VERSION
v0.1.0
DESCRIPTION
This interface represents a <fencedframe> element in JavaScript and provides configuration properties.
PROPERTIES
Inherits properties from its parent HTML::Object::DOM::Element
allow
Gets and sets the value of the corresponding fencedframe allow attribute, which represents a Permissions Policy applied to the content when it is first embedded.
Example:
my $frame = $doc->createElement("fencedframe");
say($frame->allow);
See also Mozilla documentation
config
a FencedFrameConfig object, which represents the navigation of a fencedframe, i.e., what content will be displayed in it. A FencedFrameConfig is returned from a source such as the Protected Audience API.
Example:
my $frameConfig = await navigator->runAdAuction({
# … auction configuration
resolveToConfig: true,
});
my $frame = $doc->createElement("fencedframe");
$frame->config = $frameConfig;
See also Mozilla documentation
height
Gets and sets the value of the corresponding fencedframe height attribute, which specifies the height of the element.
Example:
my $frame = $doc->createElement("fencedframe");
$frame->height = "320";
See also Mozilla documentation
width
Gets and sets the value of the corresponding fencedframe width attribute, which specifies the width of the element.
Example:
my $frame = $doc->createElement("fencedframe");
$frame->width = "480";
See also Mozilla documentation
METHODS
Inherits methods from its parent HTML::Object::DOM::Element
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Mozila documentation, Mozilla documentation on fencedframe element
COPYRIGHT & LICENSE
Copyright(c) 2025 DEGUEST Pte. Ltd.
All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.