This library provides a blazor wrapper for ApexTree.js.
Usage is quite simple, just install the package and then create any <ApexTree /> components as desired. You will need to provide data in the Parent parameter; all children must be nested within this. Setting the Id property on nodes is highly recommended for everything to work correctly and just needs to be a unique value (using Guid.NewGuid().ToHtmlId().ToString("N") would work well).
There are two types for TItem that have full support built in; otherwise you need to provide a value for NodeTemplate in the options for the component. The supported types are string? and ApexTree.Image; using either of these types will produce a tree that looks very similar to the official JavaScript examples.
To use this library:
- Clone a copy of the repository
- Reference the NuGet package
- .NET 8.0
- NF Software Inc.
This project is licensed under the MIT License - see the LICENSE file for details
Thank you to:
- joadan for the fantastic Blazor-ApexCharts project