Skip to content
Discussion options

You must be logged in to vote

For example if you have code like this:

<div canvas-area-draw points="points"
     active="activePolygon" image-url="imageSrc"
     enabled="enabled" palette="colorArray"></div>

activePolygon variable monitors active polygon index inside points array. Changing it you will change active polygon and you can bind it to any event you want.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dlecatering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants