@ -4,6 +4,16 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Layout
{
public class BreadCrumb
/// <summary>
/// Default: true.
/// </summary>
public bool ShowHome { get; set; } = true;
public bool ShowCurrent { get; set; } = true;
public List<BreadCrumbItem> Items { get; }
public BreadCrumb()
@ -7,5 +7,12 @@
public string Icon { get; set; }
public string Url { get; set; }
public BreadCrumbItem(string text, string url = null, string icon = null)
Text = text;
Url = url;
Icon = icon;
}