A newer version of this page is available. Switch to the current version.

JavaScript/jQuery TreeMap - tile.selectionStyle

Specifies the appearance of tiles in the selected state.

Type:

Object

When the user selects a tile, this element responds by changing its style. Using the fields of the selectionStyle object, you can specify the color of tiles and appearance of tile borders in the selected state.

To learn how to implement the selection feature and get familiar with available selection modes, refer to the selectionMode property description.

border

Configures the appearance of the tile borders in the selected state.

Type:

Object

color

Colors tiles in the selected state.

Type:

String

Default Value: undefined

This property supports the following colors: