Class HTMLMapElement
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The HTMLMapElement 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 map elements.
[Value("HTMLMapElement")]
public class HTMLMapElement : HTMLElement
- Inheritance
-
HTMLMapElement
- Inherited Members
Remarks
-HTML element implementing this interface: map.
Constructors
HTMLMapElement()
public HTMLMapElement()
Properties
Areas
The areas read-only property of the HTMLMapElement interface returns a collection of {{HTMLElement("area")}} elements associated with the {{HTMLElement("map")}} element.
[Value("areas")]
public HTMLCollection Areas { get; }
Property Value
- HTMLCollection
A HTMLCollection object of HTMLAreaElement elements.
Remarks
Name
The name property of the HTMLMapElement represents the unique name <map> element.
Its value can be used with the useMap attribute of the img element to reference a <map> element.
[Value("name")]
public string Name { get; set; }
Property Value
- string
A non-empty string without whitespaces.
Remarks
If an id attribute is set on the map element, then this name property should be the same as this id.
-UseMap property
-HTMLAreaElement element