Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
jsPlumbInstance
Interface jsPlumbInstance
Index
Properties
CANVAS
Defaults
SVG
VML
Methods
addClass
addEndpoint
bind
connect
deleteEndpoint
detachAllConnections
detachEveryConnection
draggable
getConnections
hasClass
importDefaults
makeSource
makeTarget
ready
removeAllEndpoints
removeClass
repaint
repaintEverything
restoreDefaults
select
setRenderMode
unbind
Properties
public
CANVAS
:
string
public
Defaults
:
Defaults
public
SVG
:
string
public
VML
:
string
Methods
public
addClass
(
el
:
any
, clazz
:
string
)
Parameters
el:
any
clazz:
string
public
addEndpoint
(
ep
:
string
)
:
any
Parameters
ep:
string
Returns
any
public
bind
(
event
:
string
, callback
:
(e: any) => void
)
Parameters
event:
string
callback:
(e: any) => void
public
connect
(
connection
:
ConnectParams
, referenceParams
?:
ConnectParams
)
:
Connection
Parameters
connection:
ConnectParams
referenceParams?:
ConnectParams
optional
Returns
Connection
public
deleteEndpoint
(
uuid
:
string
, doNotRepaintAfterwards
?:
boolean
)
:
jsPlumbInstance
Parameters
uuid:
string
doNotRepaintAfterwards?:
boolean
optional
Returns
jsPlumbInstance
public
deleteEndpoint
(
endpoint
:
Endpoint
, doNotRepaintAfterwards
?:
boolean
)
:
jsPlumbInstance
Parameters
endpoint:
Endpoint
doNotRepaintAfterwards?:
boolean
optional
Returns
jsPlumbInstance
public
detachAllConnections
(
el
:
string
)
Parameters
el:
string
public
detachEveryConnection
(
)
public
draggable
(
el
:
string
, options
?:
DragOptions
)
:
jsPlumbInstance
Parameters
el:
string
options?:
DragOptions
optional
Returns
jsPlumbInstance
public
draggable
(
ids
:
Array<string>
, options
?:
DragOptions
)
:
jsPlumbInstance
Parameters
ids:
Array<string>
options?:
DragOptions
optional
Returns
jsPlumbInstance
public
getConnections
(
options
?:
any
, flat
?:
any
)
:
Array<any>
Parameters
options?:
any
optional
flat?:
any
optional
Returns
Array<any>
public
hasClass
(
el
:
any
, clazz
:
string
)
Parameters
el:
any
clazz:
string
public
importDefaults
(
defaults
:
Defaults
)
Parameters
defaults:
Defaults
public
makeSource
(
el
:
string
, options
:
SourceOptions
)
Parameters
el:
string
options:
SourceOptions
public
makeTarget
(
el
:
string
, options
:
TargetOptions
)
Parameters
el:
string
options:
TargetOptions
public
ready
(
callback
:
() => void
)
Parameters
callback:
() => void
public
removeAllEndpoints
(
el
:
string
, recurse
?:
boolean
)
:
jsPlumbInstance
Parameters
el:
string
recurse?:
boolean
optional
Returns
jsPlumbInstance
public
removeAllEndpoints
(
el
:
Element
, recurse
?:
boolean
)
:
jsPlumbInstance
Parameters
el:
Element
recurse?:
boolean
optional
Returns
jsPlumbInstance
public
removeClass
(
el
:
any
, clazz
:
string
)
Parameters
el:
any
clazz:
string
public
repaint
(
el
:
string
)
:
jsPlumbInstance
Parameters
el:
string
Returns
jsPlumbInstance
public
repaint
(
el
:
Element
)
:
jsPlumbInstance
Parameters
el:
Element
Returns
jsPlumbInstance
public
repaintEverything
(
)
public
restoreDefaults
(
)
public
select
(
params
:
SelectParams
)
:
Connections
Parameters
params:
SelectParams
Returns
Connections
public
setRenderMode
(
renderMode
:
string
)
:
string
Parameters
renderMode:
string
Returns
string
public
unbind
(
event
?:
string
)
Parameters
event?:
string
optional
Globals
jquery