Skip to main content

Home > @jsplumb/test > BrowserUITestSupport > addDiv

BrowserUITestSupport.addDiv() method#

Signature:

addDiv(id: string, parent?: Element, className?: string, x?: number, y?: number, w?: number, h?: number): Element;

Parameters#

ParameterTypeDescription
idstring
parentElement
classNamestring
xnumber
ynumber
wnumber
hnumber

Returns:

Element