Class Sealed
public sealed class MokaJsonBottomBar : ComponentBase

Namespace: Moka.Blazor.Json.Components

Status bar displaying document statistics, selection path, and validation status.

Inheritance

Inherits from: ComponentBase

Properties

NameDescription
CurrentDepth The depth of the currently selected node.
DocumentSize Formatted document size string (e.g., "14.2 KB").
IsLazyMode Whether the document is loaded in lazy (indexed) mode.
IsValid Whether the JSON document is valid.
MaxDepth The maximum depth of the document.
NodeCount Total number of nodes in the document.
ParseTimeMs Formatted parse time string (e.g., "12.3 ms").
SelectedPath The currently selected node's JSON Pointer path.
ValidationError Validation error message, if any.

CurrentDepth

[Parameter]
public int CurrentDepth { get; set; }

The depth of the currently selected node.

DocumentSize

[Parameter]
public string? DocumentSize { get; set; }

Formatted document size string (e.g., "14.2 KB").

IsLazyMode

[Parameter]
public bool IsLazyMode { get; set; }

Whether the document is loaded in lazy (indexed) mode.

IsValid

[Parameter]
public bool IsValid { get; set; }

Whether the JSON document is valid.

MaxDepth

[Parameter]
public int MaxDepth { get; set; }

The maximum depth of the document.

NodeCount

[Parameter]
public long NodeCount { get; set; }

Total number of nodes in the document.

ParseTimeMs

[Parameter]
public string? ParseTimeMs { get; set; }

Formatted parse time string (e.g., "12.3 ms").

SelectedPath

[Parameter]
public string? SelectedPath { get; set; }

The currently selected node's JSON Pointer path.

ValidationError

[Parameter]
public string? ValidationError { get; set; }

Validation error message, if any.

Type Relationships
classDiagram
    style MokaJsonBottomBar fill:#f9f,stroke:#333,stroke-width:2px
    MokaJsonBottomBar --|> ComponentBase : inherits
View Source
/// <summary>
///     Status bar displaying document statistics, selection path, and validation status.
/// </summary>
public sealed partial class MokaJsonBottomBar : ComponentBase
{
    /// <summary>Formatted document size string (e.g., "14.2 KB").</summary>
    [Parameter]
    public string? DocumentSize { get; set; }

    /// <summary>Total number of nodes in the document.</summary>
    [Parameter]
    public long NodeCount { get; set; }

    /// <summary>The depth of the currently selected node.</summary>
    [Parameter]
    public int CurrentDepth { get; set; }

    /// <summary>The maximum depth of the document.</summary>
    [Parameter]
    public int MaxDepth { get; set; }

    /// <summary>Formatted parse time string (e.g., "12.3 ms").</summary>
    [Parameter]
    public string? ParseTimeMs { get; set; }

    /// <summary>The currently selected node's JSON Pointer path.</summary>
    [Parameter]
    public string? SelectedPath { get; set; }

    /// <summary>Whether the JSON document is valid.</summary>
    [Parameter]
    public bool IsValid { get; set; } = true;

    /// <summary>Validation error message, if any.</summary>
    [Parameter]
    public string? ValidationError { get; set; }

    /// <summary>Whether the document is loaded in lazy (indexed) mode.</summary>
    [Parameter]
    public bool IsLazyMode { get; set; }
}
Was this page helpful?