core/commander/command library

Classes

AddRoundedImage
Add a rounded image into the same parent of the elementId. elementId The id of the element, the rounded image will be added at the same level of this elementId, so they will have the same parent node. imageId The id of the new element to be added imageUrl The url where the image is available widthInPx The width of the image in pixels heightInPx The height of the image in pixels coordinate The coordinates where the image will be added
Command
Base class to represent any command compatible to the JujubaCommander
CustomCommand
You can use CustomCommand to specify your own javascript. jsCode code you want to execute in the webview
RemoveNode
Remove a node. id of the node.
UpdateBackgroundColor
Update the background color of a node. id of the node. colorHex in hexadecimal format for the background.
UpdateRootBackgroundColor
Update the root background color. colorInHex in hexadecimal format
UpdateStrokeColor
Update the stroke color of a node. id of the node. colorHex in hexadecimal format for the stroke.
UpdateStrokeWidth
Update the stroke width of a node. id of the node. widthInPx in pixels.