haXe API Documentation
Back | Index
extern class js.html.AreaElement
extends Element
Available in js
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.

Documentation for this class was provided by MDN.
var alt : String

Reflects the

alt HTML attribute, containing alternative text for the element.

var coords : String

Reflects the

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

var hash(default,null) : String
The fragment identifier (including the leading hash mark (#)), if any, in the referenced URL.
var host(default,null) : String
The hostname and port (if it's not the default port) in the referenced URL.
var hostname(default,null) : String
The hostname in the referenced URL.
var href : String

Reflects the

href HTML attribute, containing a valid URL of a linked resource.

var noHref : Bool

Indicates that this area is inactive.

Obsolete in HTML5

var pathname(default,null) : String
The path name component, if any, of the referenced URL.
var ping : String
var port(default,null) : String
The port component, if any, of the referenced URL.
var protocol(default,null) : String
The protocol component (including trailing colon (:)), of the referenced URL.
var search(default,null) : String
The search element (including leading question mark (?)), if any, of the referenced URL
var shape : String

Reflects the

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

var target : String

Reflects the

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

Back | Index