Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Save event #610

Open
LukeTOBrien opened this issue Dec 17, 2020 · 0 comments
Open

On Save event #610

LukeTOBrien opened this issue Dec 17, 2020 · 0 comments

Comments

@LukeTOBrien
Copy link

Hello chaps,

I am just researching into an idea for a project I am working on.
Is it possible to attach a handler onto the save event?

AFRAME.INSPECTOR.on('save', function(event){  })

And then I would expect a JSON object with all the changes made during the inspection session, or just an HTML string of the whole scene (you currently have 'Copy to clipboard' which is great).
I am aware of the Inspector Watcher - By my project is kinda like a WYSIWYG an currently the scene is in a iFrame, so the watcher will not work in my case.

I have also seen this PR #514 but I don't know what events that exposes.

Thanks.
Luke

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant