...
To use the new bidirectional properties in custom widgets, there are two API that now accept special arguments:
- pui.widgets.add - the "constr", "render", and "getValue" options are added for pui.BasicWidget. The "render" and "getValue" options for pui.widgets.add may be sufficient for most needs. For more advanced use, the constructor of a subclass of pui.BasicWidget can be specified for "constr".
- pui.addCustomProperty - the "bidirectional" and "showDesignValue" options are added for pui.BasicWidget
pui.BasicWidget
pui.BasicWidget is a super class defined in Profound UI that integrates with the Profound UI framework allowing input and output and point-and-click design. pui.BasicWidget is designed for Object-Oriented-Programming so that code can be encapsulated and inherited for reuse. Custom widgets that subclass pui.BasicWidget can render not just in runtime, but in Visual and Node Designers for visual, WYSIWYG screen design.
...