MapShape

From HTML5 Builder
Jump to: navigation, search

The MapShape component is an image map, an interactive area you can define on an image.

This component can be placed inside an Image component, as if it were a container. See Parenthood.

Client-side Features

The component generates the following client-side DOM element:

  • Main element (HTMLAreaElement). Access it with: $("#ComponentName").get()[0].

Client-side Events

This component inherits the following client-side events:

Server-side Features

Properties

In addition to its own properties (documented below), this component also inherits the following:

Kind

The type of shape for the interactive area.

Link

An URL to open upon click in the area. See Target.

Target

Where to open the linked document.

Server-side Events

In addition to its own server-side events (documented below), this component also inherits the following:

OnClick

Triggered by a single click in the interactive area with the mouse pointer.

OnDblClick

Triggered by a double click in the interactive area with the mouse pointer.

Inheritance