-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial structures for enabling click events to be routed from JS to …
…Blazorade Mermaid.
- Loading branch information
1 parent
6a89d1a
commit f397855
Showing
2 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Blazorade.Mermaid.Model | ||
{ | ||
/// <summary> | ||
/// Callback arguments for when a diagram element is clicked. | ||
/// </summary> | ||
public class ElementClickCallbackArgs | ||
{ | ||
/// <summary> | ||
/// The Mermaid ID of the element that was clicked. | ||
/// </summary> | ||
public string Id { get; set; } = string.Empty; | ||
|
||
} | ||
} |