Open RobLoach opened 6 years ago
@RobLoach by “widget” you mean demo rendering area (content on “Example” block on your screenshot) ?
Yes, that :wink:
I’m ok with that.
Some other things can be improve for demo area, it could be:
I have only one solution to that: iframe
This script seems to do the job : https://github.com/edenspiekermann/iframify But too many iframes in a page is greedy in performance.
You could use a custom element with Shadow DOM, as an alternative to iframes.
Please correct me if this is totally off-base, but are you looking for functionality similar to what Shopify Polaris uses in their demos?
That'd be cool!
@RobLoach Yes—it would be a very nice IXD/UX addition to the stack. Right now, I've done a fair bit of customization to a KSS-Node install, but mostly through CSS with some minor Twig.
Elements such as this add real polish to a guide, besides being an interactive demo. And, it's another affordance to invite visitors to test responsiveness.
allow resizing the widget on screen so that you don't have to resize the window.