Skip Navigation
Instance MethodMethod

svg(_:)

Returns the icon as an inline SVG element.

func svg(_ classes: String = "") -> String

Parameters

classes

Further classes of the icon, such as icon-inline.

Return Value

The <svg> element, hidden from assistive technologies.