View Full Version : Sencha Fiddle docs?

22 Nov 2016, 11:34 AM
Are there any docs for Sencha Fiddle?

In playing around I found that this URL format will allow me to edit and save on the desktop:


And this one will give me only the preview:


allowing me to test on mobile devices.

Is this documented anywhere? I just stumbled on it when google gave it as a suggestion.

22 Nov 2016, 12:15 PM
Docs: https://docs.sencha.com/fiddle/

It's technically not documented, you could think it has a "private" status. That preview url is what is used in the embedded iframes however this may change when we supprot live coding in the embed.

For dev with mobile devices, we have something planned. First, I don't think we will ever get rid of that preview url, it's very handy but may dump the "/preview" part and just detect if it's being loaded within an iframe or not to determine if it should show the embed bits or just run the saved code. Second, I have been toying with connecting remote browsers to your fiddle "session" using WebSockets (or HTTP/2 server push). So basically you'd be working on your computer editing code and you could connect your phone to that session via a session ID. When you run the code on your computer, it will run that code on any connected devices.

22 Nov 2016, 1:03 PM

The preview part helped me determine my textareas are not scrolling in formpanels on mobile. Work in containers. Now to figure that out!