Construct a new text renderer.
The options for initializing the renderer.
Readonly
backgroundThe CSS color for the cell background.
Readonly
heightThe height of the image.
Readonly
placeholderThe placeholder text.
Readonly
textThe CSS color for drawing the placeholder text.
Readonly
widthThe width of the image.
Private
Static
dataDraw the background for the cell.
The graphics context to use for drawing.
The configuration data for the cell.
Draw the image for the cell.
The graphics context to use for drawing.
The configuration data for the cell.
Draw the placeholder for the cell.
The graphics context to use for drawing.
The configuration data for the cell.
Whether the renderer is ready or not for that specific config. If it's not ready, the datagrid will paint the placeholder. If it's ready, the datagrid will paint the image synchronously.
The configuration data for the cell.
Whether the renderer is ready for this config or not.
Load the image asynchronously for a specific config.
The configuration data for the cell.
Paint the content for a cell.
The graphics context to use for drawing.
The configuration data for the cell.
Paint the placeholder for a cell, waiting for the renderer to be ready.
The graphics context to use for drawing.
The configuration data for the cell.
A cell renderer which renders data values as images.