Skip to main content

Home > @jsplumbtoolkit/core > Selection > reload

Selection.reload() method

Reloads the content of this Selection, if a generator was supplied to the constructor. Otherwise does nothing. A data load start event is fired first, followed by a call to the generator to repopulate, and then a data load end event is fired. So calling this method on a Selection that you are rendering to a Surface will cause the Surface to repaint itself.

Signature:

reload(): void;

Returns:

void