NAME
HTML::HTML5::DOM::HTMLAreaElement - implementation of the HTMLAreaElement interface of the HTML DOM
DESCRIPTION
HTML::HTML5::DOM::HTMLAreaElement is an implementation of the HTMLAreaElement interface of the HTML DOM. See HTML::HTML5::DOM for a list of the conventions that have been used when translating the DOM to Perl.
HTML Elements
This class applies to the following HTML elements.
{http://www.w3.org/1999/xhtml}area
Inheritance
HTML::HTML5::DOM::HTMLAreaElement inherits methods from the following Perl classes.
Additional Methods
As well as its inherited methods, this class provides the following methods.
altCalled with no arguments, is a shortcut for
$elem->getAttribute("alt"). Called with a defined argument, acts assetAttribute. Called with undef as an argument, acts asremoveAttribute.coordsCalled with no arguments, is a shortcut for
$elem->getAttribute("coords"). Called with a defined argument, acts assetAttribute. Called with undef as an argument, acts asremoveAttribute.hashA shortcut for
$elem->href->fragment. (Does not act as a setter.)hostA shortcut for
$elem->href->host_port. (Does not act as a setter.)hostnameA shortcut for
$elem->href->host. (Does not act as a setter.)hrefCalled with no arguments, is a shortcut for
$elem->getAttribute("href")but as a blessed URI object. Called with a defined argument, acts assetAttribute. Called with undef as an argument, acts asremoveAttribute.hreflangCalled with no arguments, is a shortcut for
$elem->getAttribute("hreflang"). Called with a defined argument, acts assetAttribute. Called with undef as an argument, acts asremoveAttribute.mediaCalled with no arguments, is a shortcut for
$elem->getAttribute("media"). Called with a defined argument, acts assetAttribute. Called with undef as an argument, acts asremoveAttribute.p5_followShortcut for
HTTP::Request->new(GET => $elem->href)pathnameA shortcut for
$elem->href->path. (Does not act as a setter.)portA shortcut for
$elem->href->port. (Does not act as a setter.)protocolA shortcut for
$elem->href->scheme. (Does not act as a setter.)relCalled with no arguments, is a shortcut for
$elem->getAttribute("rel"). Called with a defined argument, acts assetAttribute. Called with undef as an argument, acts asremoveAttribute.relListSplits
$elem->getAttribute("rel")into a list on whitespace.revCalled with no arguments, is a shortcut for
$elem->getAttribute("rev"). Called with a defined argument, acts assetAttribute. Called with undef as an argument, acts asremoveAttribute.revListSplits
$elem->getAttribute("rev")into a list on whitespace.searchA shortcut for
$elem->href->query. (Does not act as a setter.)shapeCalled with no arguments, is a shortcut for
$elem->getAttribute("shape"). Called with a defined argument, acts assetAttribute. Called with undef as an argument, acts asremoveAttribute.targetCalled with no arguments, is a shortcut for
$elem->getAttribute("target"). Called with a defined argument, acts assetAttribute. Called with undef as an argument, acts asremoveAttribute.typeCalled with no arguments, is a shortcut for
$elem->getAttribute("type"). Called with a defined argument, acts assetAttribute. Called with undef as an argument, acts asremoveAttribute.
BUGS
http://rt.cpan.org/Dist/Display.html?Queue=HTML-HTML5-DOM.
SEE ALSO
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT AND LICENCE
This software is copyright (c) 2012, 2014 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.