Palette
This component allows you to configure elements to drag and drop onto a surface.
Methods
setData()
setData(
d,newTemplate?):void
Sets the data used to render the palette. This is really only intended for use with Vanilla Visually Js
Parameters
d
New data to draw.
newTemplate?
string
optional new template to use with this data.
Returns
void
setEnabled()
setEnabled(
enabled):void
Sets the enabled state of the palette
Parameters
enabled
boolean
Returns
void