Editable Source Playground and Shareable Links
Lets users edit the example source in-browser and run it against the live grid. The full example state can be shared as a URL, which speeds up experimentation, support conversations and bug reproduction.
Planned. This page shows the specification from issue #210. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
The Source tab is in editable mode, pre-filled with the current example code.
Expected behavior
Run recompiles the code and remounts the grid. Compile errors are shown inline without breaking the page. Opening a share link restores the code, the framework and the control values.
Planned API surface
playground.runplayground.resetplayground.shareencodeExampleStatedecodeExampleStateonCompileErrorAcceptance criteria
- Edited code runs in a sandboxed iframe with no network access by default (pending)
- Compile and runtime errors show line and column numbers (pending)
- A share URL round-trips the state with byte-identical source (pending)
- Reset restores the original example (pending)
- No analytics or telemetry calls are made by the playground (pending)