id
property.updateControlPanel
method.updateControlPanel
method accepts an array of controls as its only argument:updateControlPanel
method at various points throughout its lifecycle, including when adding, updating, and removing controls from the control panel.updateControlPanel
method:updateControlPanel
method in the onReady
callback.updateControlPanel
method.onControlsEvent
method:opts
object that contains information about the event. This object always contains a controlId
and controlType
property, which you can use to identify the control the user is interacting with:opts
object also contains the value of the control. You can access this value via the opts.message.message.value
property:commit
property into the onControlsEvent
callback:false
while the user is actively interacting with a control (for example, adjusting the value of a slider) and true
once the user has finished interacting with a control.commit
property to return early from the onControlsEvent
callback if the user is actively interacting with a control:commit
property that may be false
:commit
property is always true
.onControlsEvent
callback after re-rendering the user's image but before re-rendering the controls.