Adds controls to the playground which allow you to enable/disable the dynamic modules. Builds on the work done in 5f2af119c1400f46102af9498d69deceed23200a.
I was trying to test the new SVG support, and it took me a few hours to figure out why it didn't work. This UI would have saved me a lot of time 😅
It's a little rough around the edges, but I think it's fine at least as a v1. LMK if there is something you really want me to fix before merging.
Another note: I was not able to import dynamicModules from samples.js in playground-runner.html, so I have manually copied part of the object into the file. It isn't a great solution, but it isn't worse than the existing one.
Adds controls to the playground which allow you to enable/disable the dynamic modules. Builds on the work done in 5f2af119c1400f46102af9498d69deceed23200a.
I was trying to test the new SVG support, and it took me a few hours to figure out why it didn't work. This UI would have saved me a lot of time 😅
It's a little rough around the edges, but I think it's fine at least as a v1. LMK if there is something you really want me to fix before merging. Another note: I was not able to import
dynamicModules
fromsamples.js
inplayground-runner.html
, so I have manually copied part of the object into the file. It isn't a great solution, but it isn't worse than the existing one.