Skip to main content

Home > @jsplumbtoolkit/browser-ui > createElement

createElement() function

Signature:

export declare function createElement(tag: string, style?: Record<string, any>, clazz?: string, atts?: Record<string, string>): jsPlumbDOMElement;

Parameters

ParameterTypeDescription
tagstring
styleRecord<string, any>
clazzstring
attsRecord<string, string>

Returns:

jsPlumbDOMElement