Skip to content

Commit 7f6d3a2

Browse files
author
Warren Buckley
committed
Adds XML doc summary for the new attribute
1 parent f334362 commit 7f6d3a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Our.Umbraco.TagHelpers/ActiveClassTagHelper.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ public ActiveClassTagHelper(IUmbracoContextAccessor umbracoContextAccessor)
3838
public string ActiveClassName { get; set; }
3939

4040

41+
/// <summary>
42+
/// If you wish to add an active CSS class on another DOM element than an <a>
43+
/// You can use this attribute to pass a link to the page to check in conjuction with `our-active-class` attribute
44+
/// </summary>
4145
[HtmlAttributeName("our-active-href")]
4246
public string? ActiveLink { get; set; }
4347

0 commit comments

Comments
 (0)