Skip to content

parseStyleAttribute

parseStyleAttribute(element): Record<string, any>

Parses “style” attribute, retuning an object with values

Parameters

element: HTMLElement

Element to parse

Returns

Record<string, any>

Objects with values parsed from style attribute of an element

Static

Member Of

fabric

Defined in

src/parser/parseStyleAttribute.ts:11