Skip to Content
Svelte Flow 2 is out! Read the announcement →
ReferenceTypes

ResizeParams

Source on GitHub 

The ResizeParams type is used to type the various events that are emitted by the <NodeResizer /> component. You’ll sometimes see this type extended with an additional direction field too, see ResizeParamsWithDirection.

Fields

NameTypeDefault
xnumber
ynumber
widthnumber
heightnumber