iframe

Ward via matrix > I wonder if Elm would run well in a Frame where inputs and outputs are already established as items on wiki pages?

It's a bit rough but it's a start. You can see what it looks like here - livecode.world/iframe.html

UI Composition with Elm & Microservices discourse

> […] have one way to compose your widgets. Web Components work but maybe <iframe>s are a good solution too? I have used a simple `<script id="put-that-widget-here" src="https://team.app.org/fragments/some-widget.js?id=this-widget&where=put-that-widget-here"></script>` approach with little friction. Depends on what you want to do. Make sure that this is known and agreed upon.

The Channel Messaging API allows two separate scripts running in different browsing contexts attached to the same document (e.g., two IFrames, or the main document and an IFrame, two documents via a SharedWorker, or two workers) to communicate directly, passing messages between one another through two-way channels (or pipes) with a port at each end - mdn

This started as a playground to try elm-ui, but it is here as a proof of concept for a plugin-based reusable UI (for now based on an infamous iframe) and code sample for a question on StackOverflow

DOT FROM lambda-browsing