Add custom events

What is custom event?

Custom events are JavaScript events that can be inserted into an SVG. When triggered, it will perform certain actions that have been set by the user.

Steps to create custom events

  • Select any shape and right click
  • Go to Tools | Custom Events
Adding custom events
Adding custom events

Use custom events

Using custom events
Using custom events

The added events will be inserted once you export the shape to SVG. The effect can be seen by simply opening the SVG in a web browser.

vecta.io Early Access