Skip to content
Snippets Groups Projects

Support multiple UIs bound to a single logic

Merged Dylan Noah Vairoli requested to merge dv/multi-ui into main
4 files
+ 91
22
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -6,6 +6,7 @@ import org.scalajs.dom
/** The ClientApp interface is used by clients to connect to a server. */
trait ClientApp:
def appId: AppId
def uiId: UIId
def init(instanceId: InstanceId, userId: UserId, endpoint: String, target: dom.Element): ClientAppInstance
/** The ClientAppInstance interface is used by the server to store the state of
Loading