Name: kaavio-editor
Owner: WikiPathways
Description: Editor plugin for kaavio
Created: 2015-06-10 21:23:04.0
Updated: 2016-01-11 23:06:20.0
Pushed: 2016-06-23 23:05:35.0
Homepage: null
Size: 88014
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
It will emit an event from the container element of the pvjs instance (the one you specified). You can listen for `pvjsdatachange
` like this:
ment.querySelector('#your-container-element').addEventListener('pvjsdatachange', function (e) {
nsole.log(e.detail);
alse);
The `detail
property will have a property named ``
pvjson```, which is the current diagram data.
It will TEMPORARILY also have a property named `gpml
`, which will be the gpml data as a string. This property will be removed as soon as the pvjson to gpml converter is working, at which time the conversion will happen outside of pvjs.