colinmeinke / wilderness

An SVG animation API
https://wilderness.now.sh
MIT License
155 stars 8 forks source link

Include all attributes when creating shape from existing DOM node #21

Closed colinmeinke closed 7 years ago

colinmeinke commented 8 years ago

Currently when a plain shape object is created from an existing DOM node, it only acknowledges a specified list of attributes. It ignores inline or external styles.

colinmeinke commented 7 years ago

Not just styles, but all node attributes.

colinmeinke commented 7 years ago

Next will be using Wilderness dom node which gets and sets all attributes.