- Namespace:
- Redakt.Web.TagHelpers
- Assembly:
- Redakt.ContentManagement.Web.dll
Updates an anchor element with properties from a link object.
[HtmlTargetElement]
public class AnchorTagHelper
- Inheritance:
- ObjectTagHelperAnchorTagHelper
Constructors
Properties
Target |
Specifies the target to generate a href for. Can be a INodeViewModel derived page view model, IPublishedContent object, Link object, or page id string. Optionally, a different target culture for the url may be set with the rx-culture attribute.
|
EmptyAction |
Specifies the action to take when the url cannot be generated due to missing published content or an invalid page id.
|
Methods