v0.2.0
馃挜 Breaking Changes
-
The
assetoption in theinit()method has been renamed toassets, and its data type has been changed from anObjectto anArray. This change provides greater flexibility in asset configuration. Please update yourinit()method calls accordingly.Before:
patchmap.init(element, { asset: { /* ... asset options ... */ } });
After:
patchmap.init(element, { assets: [ // Renamed from 'asset' and changed to an Array /* ... asset options ... */ ] });
What's Changed
- docs: include CDN information and links to examples (#101)
- chore: fix bug report issue template (#102)
- fix: clear animations on destroy call (#104)
- fix: enable theme colors for relations (#108)
- feat: support multiple canvas instances (#109)
- fix: remove data reference in draw method call (#105)
Full Changelog: v0.1.9...v0.2.0