Skip to main content

Home > @jsplumbtoolkit/browser-ui > SimpleBackground

SimpleBackground class#

Signature:

export declare class SimpleBackground implements Background 

Implements: Background

Constructors#

ConstructorModifiersDescription
(constructor)(params)Constructs a new instance of the SimpleBackground class

Properties#

PropertyModifiersTypeDescription
backgroundImageHTMLImageElement
canvasany
onBackgroundReadyFunction

Methods#

MethodModifiersDescription
getHeight()
getWidth()
owns(el)
pan()
setZoom(zoom, doNotDebounce)