ericdrowell / KineticJS

KineticJS is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
http://www.kineticjs.com
3.98k stars 753 forks source link

Serialization of own propertiies/attributes #1075

Open katerinalev1992 opened 6 years ago

katerinalev1992 commented 6 years ago

Hello. Could you please give a hint how to serialize own property or how to add correctly property to serialize it.

I tried to add a separate property to a group. But after serialization I lost my custom property:

group.myProperty = {};

And after serialization myProperty is not exist