aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
654 stars 201 forks source link

Alert that I have changes before navigating away. #364

Open caseyyee opened 7 years ago

caseyyee commented 7 years ago

If I have changes made in inspector that have not been exported or copied out, warn me so that I don't loose my changes before navigating away.

fernandojsg commented 7 years ago

@caseyyee what do you mean with navigating away? on events like close and unload/beforeunload?

caseyyee commented 7 years ago

@fernandojsg If I make changes with the inspector, and navigate away by typing in a new URL or triggering navigation within scene (I was experimenting with a VR link traversal)

caseyyee commented 7 years ago

@fernandojsg I was thinking on unload/beforeunload.