RoyaghRamo / angular-drawflow-example

Angular Drawflow Example
7 stars 3 forks source link

DrawFlow with angular and button with event #1

Closed WilliamCampolina closed 2 years ago

WilliamCampolina commented 2 years ago

guys, I'm using it in a project with angular following the following examples from this project but I can't do the action on a button on the node, it says it can't find the function. Can anyone help me because I can't. thank you so much

image

RoyaghRamo commented 2 years ago

Hello, try using the "click" event of the editor, and program as you see fit. Here is something I've used image

WilliamCampolina commented 2 years ago

thank you very much, this will help me... it worked

RoyaghRamo commented 2 years ago

thank you very much, this will help me... it worked

You're welcome mate

WilliamCampolina commented 2 years ago

one last thing, I didn't understand how the showpopup opened the modal, that way it didn't work

reference https://github.com/jerosoler/Drawflow/blob/master/docs/index.html

RoyaghRamo commented 1 year ago

one last thing, I didn't understand how the showpopup opened the modal, that way it didn't work

reference https://github.com/jerosoler/Drawflow/blob/master/docs/index.html

In Angular, you can create a popup using ModalRef. Sorry for the late reply.