Skip Navigation
Type MethodMethod

content(of:)

Returns the content of an SVG element: everything between its opening and closing tags.

static func content(of svg: String) -> String

Parameters

svg

An SVG element.

Return Value

The element’s children.