mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-07-09 02:26:08 +00:00
RadzenToc component is a table of contents based on the titles in a page allowing users to quickly navigate the page. --------- Co-authored-by: Atanas Korchev <akorchev@gmail.com>
26 lines
780 B
C#
26 lines
780 B
C#
using System.Collections.Generic;
|
|
|
|
namespace RadzenBlazorDemos
|
|
{
|
|
public class Example
|
|
{
|
|
public bool New { get; set; }
|
|
public bool Updated { get; set; }
|
|
public bool Pro { get; set; }
|
|
public string Name { get; set; }
|
|
public string Icon { get; set; }
|
|
public string Path { get; set; }
|
|
public string Title { get; set; }
|
|
public string Description { get; set; }
|
|
public bool Expanded { get; set; }
|
|
public IEnumerable<Example> Children { get; set; }
|
|
public IEnumerable<string> Tags { get; set; }
|
|
public IEnumerable<ExampleSection> Toc { get; set; }
|
|
}
|
|
|
|
public class ExampleSection
|
|
{
|
|
public string Text { get; set; }
|
|
public string Anchor { get; set; }
|
|
}
|
|
} |