IDomTile
Extends ITile.
Interface for tiles that make up a DOM object.
Constructor | Fields | Events | Methods
Constructor
IDomTile(url)
Parameters:
Parameter |
Default value |
Description |
|
— |
Type: String Tile URL. |
* Mandatory parameter/option.
Fields
Name |
Type |
Description |
Event manager. Inherited from IEventEmitter. |
Events
Name |
Description |
Tile ready event. Inherited from ITile. |
Methods
Name |
Returns |
Description |
destroy() |
Destroys the tile. Inherited from ITile. |
|
isReady() |
Boolean |
Checks tile readiness. Inherited from ITile. |
Adds a tile to the parent HTML element. |
Methods details
renderAt
{} renderAt(context, clientBounds, animate)
Adds a tile to the parent HTML element.
Parameters:
Parameter |
Default value |
Description |
— |
Type: HTMLElement Parent HTML element |
|
— |
Type: Number[][] The area in client coordinates that the tile should occupy. |
|
— |
Type: Boolean If true, rendering is animated; if false, it is not. |
* Mandatory parameter/option.
Mandatory parameter/option.