Show / Hide Table of Contents

    Class IconHelper

    Adds support for fa tags that are being transformed into Font Awesome icons. The icon is defined by either the icon attribute for a fixed-width icon, or the icon-flexible attribute for a flexible width icon. The size of the icon can be controlled by using the optional size attribute. Icon names and sizes are not prefixed with the fa- CSS class name prefix. Additional attributes or tag contents are retained.
    Inheritance
    Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
    SizeHelper
    IconHelper
    Inherited Members
    SizeHelper.SizeAttributeName
    SizeHelper.Size
    Namespace: XploRe.AspNetCore.Mvc.TagHelpers.FontAwesome
    Assembly: XploRe.AspNetCore.Mvc.TagHelpers.FontAwesome.dll
    Syntax
    public class IconHelper : SizeHelper

    Constructors

    Name Description
    IconHelper()

    Properties

    Name Description
    Icon Name of Font Awesome icon. Will render the icon with a fixed width.
    Symbol Name of Font Awesome icon. Will render the icon with flexible width.

    Methods

    Name Description
    Process(TagHelperContext, TagHelperOutput)
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.