Adds an item to the palette.
Namespace: MindFusion.Diagramming.Controls
File: Palette.js
JavaScript
![]() |
---|
function addItem (item, category, [caption]) |
DiagramItem. The item to add.
String. The category of the item.
String. The caption to display for the item.