Updates an anchor element with properties from a link object.

[HtmlTargetElement]
public class PageLinkTagHelper
Inheritance:
ObjectTagHelperPageLinkTagHelper

Constructors

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

Properties

Link Link object to generate href, name and target attributes for.
EmptyAction Specifies the action to take when the url cannot be generated due to missing published content or an invalid page id.

Methods

ProcessAsync(TagHelperContext, TagHelperOutput)