flowchart.js
flowchart.js copied to clipboard
JavaScript Element Trigger
Currently we can trigger an HTML link, and that is great. What I would like to be able to do is trigger a JavaScript function, and let that function/object/etc. determine what happens. This could be anything from a popup window done with the wrapper app to something that changes the CSS so we could see the items that were completed in a workflow.
Feel free to submit a pull request ;-)
@sosensible It's possible to trigger a javascript function by putting "javascript:" in the link, just like an anchor tag href. For example:
e=>end:>javascript:alert('This is the end')