Documentation
Reference
2.1.55 (current version)
collection
interactivityModel
Interfaces

IDomTile

Interface for tiles that make up a DOM object.

Constructor | Fields | Events | Methods

Constructor

IDomTile(url)

Parameters:

ParameterDefault valueDescription
url *
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: String

Tile URL.

* Mandatory parameter/option.

Fields

NameTypeDescription
eventsIEventManager

Tile event manager.

Events

NameDescription
ready

Tile ready event.

Methods

NameReturnsDescription
destroy()

Destroys the tile.

isReady()

Boolean

Checks tile readiness.

renderAt(context, clientBounds, animate)

Adds a tile to the parent HTML element.

Fields details

events

{IEventManager} events

Tile event manager.

Events details

ready

Tile ready event.

Methods details

destroy

{} destroy()

Destroys the tile.

isReady

{Boolean} isReady()

Checks tile readiness.

Returns true if the tile is ready, or false if it is not ready.

renderAt

Adds a tile to the parent HTML element.

Parameters:

ParameterDefault valueDescription
context*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: HTMLElement

Parent HTML element

clientBounds*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: Number[][]

The area in client coordinates that the tile should occupy.

animate*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: Boolean

If true, rendering is animated; if false, it is not.

* Mandatory parameter/option.