Does javascript execute & preview directly in Elements preview?

Does javascript execute & preview directly in app or just when browser previewed?

If it works in app are there any videos that show this occurring? If only in browser will this always be the case and never change for in app preview?

Thanks

Javascript is only executed in the browser — no javascript is executed inside of the Elements editor.

I can’t say it’ll always be that way, but we don’t currently have any plans to change this.

thanks for confirming

Is the browser preview live synced with Element 's so changes in Element 's are realtime updated in the browser? Sorry having trouble finding this information on my own.

Yes, it’s synced, but you need to click back on the browser to make the refresh happen.

You’ll also want to make sure this option is switched on in the Preferences:

3 Likes

Ok good to know thanks

1 Like