-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put your own action on the chart #372
Comments
Yes, please read https://mermaidjs.github.io/flowchart.html and find the section "Interaction". |
Tyler ... I wrote an email, but maybe it's easier here. Does this action/interaction work or will it work with Gantt charts? |
The link is broken; https://mermaidjs.github.io/#/flowchart?id=interaction seems like the proper link now. However, in the first example, e.g. graph LR;
A-->B;
click A callback "Tooltip for a callback"
click B "http://www.github.com" "This is a tooltip for a link"
the A node click event does not work. B does. |
@SgtPooki Hey, it seems like you're answering to a year and a half old issue/question. Feel free to open a new issue if you need any assistance. I'll lock this issue soon. |
@dunning-kruger I was just updating the documentation since the info in this issue was no longer valid. I don't have a particular issue, but there is a bug with the click event. thanks for the quick response :) |
@SgtPooki I appreciate the intention but issues are not an authoritative source of information. The link was valid at the time this issue was open and that is enough. Otherwise, we'd have a full-time job of keeping the ever-growing list of closed issues updated, or be flooded by notifications of comments "updating" closed issues. As for the "bug with the click event", in case you're not talking about #891, feel free to create a new issue with the repro and we'd be happy to take a look! |
Hi
Is it possible to put your own JavaScript action on the chart? Eg: click on start icon, trigger a ajax call.
The text was updated successfully, but these errors were encountered: