Definition of callbacks to various events or situations related to PI. Used in constructor for PropertyInspector.
- Version:
- 16.3.5
- Source:
Methods
activate()
stable API
Function called right after the templates were rendered in the Property Inspector panel (with applied Knockout bindings for specified models). This callback can be used to register listeners, start animations, or perform additional UI changes.
- Version:
- 16.3.5
- Source:
beforeDeactivate() → {Boolean}
stable API
Function called when the PI is going to be closed. The function can
return a falsy
value to prevent the PI from closing, e.g.
if it contains some invalid or unsaved settings.
- Version:
- 16.3.5
- Source:
Returns:
- Type
- Boolean
deactivate()
stable API
Function called when the PI was closed. This callback is appropriate for removing of listeners and similar cleanup.
- Version:
- 16.3.5
- Source: