Lion Logo Lion Fundamentals Guides Components Blog Toggle darkmode

Icon: API Table

class: LionIcon, lion-icon

Fields

NamePrivacyTypeDefaultDescriptionInherited From
svgpublicTemplateResult|nothing|TagFunctionOn IE11, svgs without focusable false appear in the tab order so make sure to have <svg focusable="false"> in svg files
_iconManagerprotected
ariaLabelpublicstring''
iconIdpublicstring''

Methods

NamePrivacyDescriptionParametersReturnInherited From
_onLabelChangedprotected
_renderSvgprotectedsvgObject: TemplateResult | nothing
_onIconIdChangedprotectedprevIconId: string

Attributes

NameFieldInherited From
aria-labelariaLabel
icon-idiconId