Dart API Referencedart:htmlAreaElement

AreaElement Interface

DOM area objects expose the HTMLAreaElement (or HTML 4 HTMLAreaElement) interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of area elements.

Extends

Element

Constructors

Code new AreaElement() #

AreaElement();

Fields

Code String alt #

Reflects the alt HTML attribute, containing alternative text for the element.
String alt;

Code String coords #

Reflects the coords HTML attribute, containing coordinates to define the hot-spot region.
String coords;

Code final String hash #

The fragment identifier (including the leading hash mark (#)), if any, in the referenced URL.
final String hash;

Code final String host #

The hostname and port (if it's not the default port) in the referenced URL.
final String host;

Code final String hostname #

The hostname in the referenced URL.
final String hostname;

Code String href #

Reflects the href HTML attribute, containing a valid URL of a linked resource.
String href;

Code bool noHref #

Indicates that this area is inactive. Obsolete in HTML5
bool noHref;

Code final String pathname #

The path name component, if any, of the referenced URL.
final String pathname;

Code String ping #

String ping;

Code final String port #

The port component, if any, of the referenced URL.
final String port;

Code final String protocol #

The protocol component (including trailing colon (:)), of the referenced URL.
final String protocol;
The search element (including leading question mark (?)), if any, of the referenced URL
final String search;

Code String shape #

Reflects the shape HTML attribute, indicating the shape of the hot-spot, limited to known values.
String shape;

Code String target #

Reflects the target HTML attribute, indicating the browsing context in which to open the linked resource.
String target;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.