mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-02 12:07:44 +08:00
27b3e8ad5e
* Add OnClick parameter to BreadcrumbItem. Add tests for Breadcrumb and BreadcrumbItem. Remove unused and unreachable code until needed at a later date. Documented parameters not in use, but left to avoid breaking the existing public API. * Fix whitespace * Update signature of OnClick for BreadcrumbItem to pass a Tuple<MouseEventArgs, BreadcrumbItem> giving access to the click arguments and the item clicked. * Add ExludeFromCodeCoverage to POCO * Update HTML markup for Breadcrumbs to match React Ant.Design (use nav, ol and li elements instead of div and spans only) * fix naming * fix error * fix test Co-authored-by: James Yeung <shunjiey@hotmail.com>
20 lines
432 B
C#
20 lines
432 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace AntDesign
|
|
{
|
|
/// <summary>
|
|
/// Not currently used. Planned for future development.
|
|
/// </summary>
|
|
[ExcludeFromCodeCoverage]
|
|
public class BreadcrumbOption
|
|
{
|
|
public string Label { get; set; }
|
|
|
|
public Dictionary<string, object> Params { get; set; }
|
|
|
|
public Uri Url { get; set; }
|
|
}
|
|
}
|