Note | ||
---|---|---|
| ||
As of July 25th, 2023, there is a content freeze on this page. |
This API returns a drag-and-drop proxy element for a panel widget based on a set of default panel widget properties. It should be used on the proxyHTML configuration option of the pui.toolbox.add() API.
...
Code Block | ||||
---|---|---|---|---|
| ||||
pui.toolbox.add({
category: "Custom Widgets",
widget: "panel",
text: "Custom Panel",
icon: "/profoundui/proddata/images/panels/Custom Panel/icon.png",
proxyHeight: 100,
proxyWidth: 200,
proxyHTML: function(defaults) {
return pui.widgets.getPanelProxy(defaults);
},
defaults: {
"panel style": "Custom Panel",
"color": "#000000"
}
});
|
...