🎨
FabricJS - Drawing Canvas
  • Introduction
    • 👋Welcome
    • Key Use Cases
    • Key Features
    • FAQs
  • Using the Plugin
    • Getting Started
    • Set up the Background
    • Set up Click Behavior
    • Saving the Canvas
    • Downloading the Canvas
  • Feature Reference
    • General Settings
    • Workflow Actions
    • Workflow Events
    • Exposed States
  • Use Cases
    • Templates
    • Canva/Visual Moodboard
    • PowerPoint & Slides
    • Image Editor
  • Useful tips
    • Custom Control Menu
    • Responsiveness
    • Element HTML id Attribute
Powered by GitBook
On this page
  1. Feature Reference

Workflow Events

PreviousWorkflow ActionsNextExposed States

Last updated 3 years ago

You can access the plugin's list of workflow events by:

  1. Opening the workflow tab (make sure you've already added the Canvas-Main element to your page

  2. Click to add a Trigger event

  3. Navigate to the "Element" section

  4. Select one of the events associated with "A Canvas-Main"

Below is a list of all of the workflow events associated with the Canvas-Main element along with a description of what it does and how to use it.

Workflow Events (Workflow Tab)

Event Name
Description

A Canvas-Main has been modified

Fires when the Canvas has been modified in any way

A Canvas-Main has deleted an element

Fires when an element has been deleted on the Canvas

A Canvas-Main Shape Added

Fires when a shape has been added to the Canvas

A Canvas-Main Text Added

Fires when a text has been added to the Canvas

Generated a saved image URL

Fires when the saved image URL (.png of the image) is ready ()

Generated a serialization

Fires when the serialization (JSON of the Canvas) is ready ()

details here
details here