W3cubDocs

/Haxe JavaScript

AreaElement

package js.html

extends ElementDOMElementNodeEventTarget

Available on js

The HTMLAreaElement interface provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of area elements.

Documentation HTMLAreaElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

alt:String

Is a DOMString that reflects the alt HTML attribute, containing alternative text for the element.

coords:String

Is a DOMString that reflects the coords HTML attribute, containing coordinates to define the hot-spot region.

download:String

Is a DOMString indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value represent the proposed name of the file. If the name is not a valid filename of the underlying OS, browser will adapt it.

hash:String

host:String

hostname:String

href:String

noHref:Bool

Is a Boolean flag indicating if the area is inactive (true) or active (false).

read only origin:String

password:String

pathname:String

ping:String

port:String

protocol:String

rel:String

Is a DOMString that reflects the rel HTML attribute, indicating relationships of the current document to the linked resource.

read only relList:DOMTokenList

Returns a DOMTokenList that reflects the rel HTML attribute, indicating relationships of the current document to the linked resource, as a list of tokens.

shape:String

Is a DOMString that reflects the shape HTML attribute, indicating the shape of the hot-spot, limited to known values.

target:String

Is a DOMString that reflects the target HTML attribute, indicating the browsing context in which to open the linked resource.

username:String

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/AreaElement.html