Skip to main content

LgIcon

Module : Lagoon.UI
Namespace : Lagoon.UI.Components
Category: Icons
Inherits from: LgAriaComponentBase

Component to show icon from library.

Parameters​

ParameterTypeDescription
AdditionalAttributesIReadOnlyDictionary<string, object>Gets or sets a collection of additional attributes that will be applied to the created element.
CssClassstringGets or sets the icon class css
IconNamestringGets or sets the icon name
OnClickEventCallback<ActionEventArgs>Gets or sets the icon Onclick eventCallback
TooltipstringGets or sets the icon tooltip.
TooltipIsHtmlboolGets or sets if the tooltip contents use the HTML format; else, the content use a raw text format.

Parameters inherited from LgAriaComponentBase​

ParameterTypeDescription
AriaLabelstringGets or sets aria label
AriaLabelledBystringGets or sets id of component for aria label