Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > setSuspendRendering

JsPlumbToolkit.setSuspendRendering() method#

Suspends or re-enables rendering. This method simply round-robins all the registered renderers and calls setSuspendRendering on each of them.

Signature:

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

Parameters#

ParameterTypeDescription
vbooleanTrue to suspend rendering, false to enable it.
thenRefreshbooleanDefaults to false. If true, a refresh will be called on all renderers after rendering is unsuspended.

Returns:

void