Content Freeze
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.
Parameter:
- defaults object - list of default properties for the panel; the defaults object is automatically provided by the pui.toolbox.add() API so it can be used with the proxyHTML configuration option
Example:
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" } });