From 6aa20ed64bc27b55c04eb7253b82d8c1ae89535c Mon Sep 17 00:00:00 2001 From: Justin Greywolf Date: Sun, 27 Aug 2023 16:22:38 -0700 Subject: [PATCH] Update classDiagram.md --- docs/syntax/classDiagram.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/syntax/classDiagram.md b/docs/syntax/classDiagram.md index 55fbc72ac..8ad9ebe89 100644 --- a/docs/syntax/classDiagram.md +++ b/docs/syntax/classDiagram.md @@ -627,7 +627,7 @@ You would define these actions on a separate line after all classes have been de click className href "url" "tooltip" - _action_ is either `link` or `callback`, depending on which type of interaction you want to have called -- _className_ is the id of the node that the action will be associated with +- _className_ is the id of the node that the action will be associated with (if you have created a class with a generic type, the id will be the name only, without the type declaration at the end) - _reference_ is either the url link, or the function name for callback. - (_optional_) tooltip is a string to be displayed when hovering over element (note: The styles of the tooltip are set by the class .mermaidTooltip.) - note: callback function will be called with the nodeId as parameter.