This is the Component Events update, featuring a whole bunch of user configurable client-side events.
The event property is broken into two categories: lifecycle and dom events.
Lifecycle Events (events.lifecycle)
Several component lifecycle events are now configurable. Supported events:
onMountonUpdateonUnmount
DOM Events (events.dom)
All React Synthetic Event handlers are now configurable through events.dom. Not all of these events are meaningful/supported by the underlying canvas element, but the full list is provided anyways.
These events are registered through the supported SDK interface and do not interfere with the normal gateway-side events (e.g. you can still add Component Events).
Supported events (go crazy):
onCopyonCutonPasteonCompositionEndonCompositionStartonCompositionUpdateonFocusonBluronChangeonBeforeInputonInputonResetonSubmitonInvalidonLoadonErroronKeyDownonKeyPressonKeyUponAbortonCanPlayonCanPlayThroughonDurationChangeonEmptiedonEncryptedonEndedonLoadedDataonLoadedMetadataonPauseonPlayonPlayingonProgressonRateChangeonResizeonSeekedonSeekingonStalledonSuspendonTimeUpdateonVolumeChangeonWaitingonAuxClickonClickonContextMenuonDoubleClickonDragonDragEndonDragEnteronDragExitonDragLeaveonDragOveronDragStartonDroponMouseDownonMouseEnteronMouseLeaveonMouseMoveonMouseOutonMouseOveronMouseUponSelectonTouchCancelonTouchEndonTouchMoveonTouchStartonPointerDownonPointerMoveonPointerUponPointerCancelonPointerEnteronPointerLeaveonPointerOveronPointerOutonScrollonWheelonAnimationStartonAnimationEndonAnimationIterationonTransitionEnd
Changes
- The
events.beforeRenderproperty has been deprecated and is no longer suggested in the property schema.
New Sponsors
Shoutout to Artek for the new sponsorship!
If you’re interested in sponsoring this project, check out our GitHub sponsorship page.



