Skip to content

getSvgAttributes

getSvgAttributes(type): string[]

Defined in: src/util/misc/svgParsing.ts:17

Returns array of attributes for given svg that fabric parses

Parameters

type

SVGElementName

Type of svg element (eg. ‘circle’)

Returns

string[]

string names of supported attributes