Skip to main content

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

Surface.setSize() method

Sets the size of element representing the given vertex in the DOM, updating the layout.

Signature:

setSize(id: string, w: number, h: number): void;

Parameters

ParameterTypeDescription
idstring
wnumber
hnumber

Returns:

void