- Introduction
- What's New?
- Features
- Upgrading the Design Editor
- Breaking Changes in 6.0
- Getting Started
- Integration with E-commerce
- Integration with Remote Asset Sources
- Printable Files and Proof Images
- Configuring Products
- Creating Product Templates
- User Interface
- Configuration Files
- APIs
- Add-ons
- System Requirements
- Troubleshooting
- Migrating Your Applications
- Licensing
- Copyright Notices
Events Class
Applies to: Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · Archived documentation
The web-to-print editor events. To subscribe to an event, use the Editor.subscribe method.
Properties
Static AssetManagerClosed
Fires when the Asset Manager closes.
Static AssetManagerOpened
Fires when the Asset Manager opens.
Static BoundsNotification
This event allows for getting product measurements during customization.
Static CanRedoChanged
Fires when the Redo button gets enabled in the editor.
Static CanUndoChanged
Fires when the Undo button gets enabled in the editor.
Static FullScreen
Fires when the editor is switched to the full screen mode.
Static FullWindow
Fires when the editor is switched to the full window mode.
Static ItemAdded
Fires when a design element is added to the product.
Static ItemChanged
Fires when the design element is changed in the editor.
Static ItemRemoved
Fires when a design element is removed from the product.
Static ModalClose
Fires when the editor is closed in a modal window.
Static ModalOpen
Fires when the editor is opened in a modal window.
Static OnImageDpiChanged
Fires when a user resizes images.
Static OnSurfaceChanged
Fires when a user switches surfaces.
Static OriginalSize
Fires when the editor is switched to the original size mode.
Static PopupOpen
Deprecated. Instead, you can subscribe to UIElementStateChange with the "TextPopup" argument. Fires when a dialog box opens.
Static PrintAreaBoundsChanged
Fires when when the size of a print area changes, for example, after using setPrintAreas.
Static RedoProduct
Fires when a user clicks the Redo button.
Static RevertProduct
Fires when a user reverts a product in the editor.
Static SelectedItemsChanged
Fires when a design element from the collection is changed in the editor.
Static UIElementStateChange
Fires when TextPopup, BottomToolbar.Zoom, or BottomToolbar.Settings popups has been opened or closed. Arguments of this event look as follows: {element: "BottomToolbar.Zoom", isOpen: true}.
Static UndoProduct
Fires when a user clicks the Undo button.