PageLinkTagHelper Class

PageLinkTagHelper Class

Updates an anchor element with properties from a link object.

[HtmlTargetElement(Attributes = "re-link")]
public class PageLinkTagHelper: TagHelper

Inheritance  TagHelper PageLinkTagHelper

Constructors

Name Description
PageLinkTagHelper(IRedaktContext) Default constructor. Services are injected by the IoC container.

Properties

Name Description
Link Link object to generate href, name and target attributes for.

Methods

Name Description
ProcessAsync(TagHelperContext, TagHelperOutput)