Home > @jsplumbtoolkit/browser-ui > Surface > setSuspendRendering
Surface.setSuspendRendering() method
Sets whether rendering is suspended or not.
Signature:
setSuspendRendering(val: boolean, thenRefresh?: boolean): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| val | boolean | |
| thenRefresh | boolean | If true, the surface will refresh after the change in state. |
Returns:
void