Skip to content

parseStyleAttribute

parseStyleAttribute(element): Record<string, any>

Defined in: src/parser/parseStyleAttribute.ts:11

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