Class
Sealed
public sealed class MokaJsonBreadcrumb : ComponentBase
Namespace: Moka.Blazor.Json.Components
Displays the JSON Pointer path as a clickable breadcrumb trail.
Inheritance
Inherits from: ComponentBase
Properties
| Name | Description |
|---|---|
OnNavigate |
Callback when a breadcrumb segment is clicked. |
Path |
The currently selected JSON Pointer path. |
RootValueKind |
The root element's value kind for type icon display. |
OnNavigate
[Parameter]
public EventCallback<string> OnNavigate { get; set; }
Callback when a breadcrumb segment is clicked.
Path
[Parameter]
public string? Path { get; set; }
The currently selected JSON Pointer path.
RootValueKind
[Parameter]
public JsonValueKind RootValueKind { get; set; }
The root element's value kind for type icon display.
Type Relationships
classDiagram
style MokaJsonBreadcrumb fill:#f9f,stroke:#333,stroke-width:2px
MokaJsonBreadcrumb --|> ComponentBase : inherits
View Source
/// <summary>
/// Displays the JSON Pointer path as a clickable breadcrumb trail.
/// </summary>
public sealed partial class MokaJsonBreadcrumb : ComponentBase
{
#region Nested Types
#endregion
#region Private Methods
#endregion
#region Parameters
/// <summary>The currently selected JSON Pointer path.</summary>
[Parameter]
public string? Path { get; set; }
/// <summary>The root element's value kind for type icon display.</summary>
[Parameter]
public JsonValueKind RootValueKind { get; set; }
/// <summary>Callback when a breadcrumb segment is clicked.</summary>
[Parameter]
public EventCallback<string> OnNavigate { get; set; }
#endregion
#region State Fields
#endregion
#region Computed Properties
#endregion
}