Skip to main content

Home > @jsplumbtoolkit/browser-ui > Surface > setSuspendRendering

Surface.setSuspendRendering() method#

Sets whether rendering is suspended or not.

Signature:

setSuspendRendering(val: boolean, thenRefresh?: boolean): void;

Parameters#

ParameterTypeDescription
valboolean
thenRefreshbooleanIf true, the surface will refresh after the change in state.

Returns:

void