Having the ability to load compositions from in-memory json is necessary when creating angular components with webpack, for example.
Added the srcMode property
This is a new non-bindable property for getting / setting the srcMode. Defaults to File which is the current behaviour, but json is also supported for using in-memory json string literals.
Note
Would be much appreciated if you could update the unreleased section in the changelog with the new version number and release date for these changes during the merge, thanks!
Closing this for now until I resolve the exposed enum SrcMode typings. While this works nicely within the demo, it's being difficult within an angular webpack component. Will reopen once I resolve.
Justification
Having the ability to load compositions from in-memory json is necessary when creating angular components with webpack, for example.
Added the
srcMode
propertyThis is a new non-bindable property for getting / setting the srcMode. Defaults to File which is the current behaviour, but json is also supported for using in-memory json string literals.
Note
Would be much appreciated if you could update the unreleased section in the changelog with the new version number and release date for these changes during the merge, thanks!