@communities-webruntime/design
Summary
This is a Webruntime-specific adapter between @communities-webruntime/client and commeditor.
Usage
Build the package and include the generated webruntimedesign.js
alongside your webruntime.js
:
<script src="/webruntime.js"/>
<script src="/webruntimedesign.js"/>
It will periodically scan the DOM and collect any interactable elements.
Notable modules
webruntimedesign/regionWrapper
webruntimedesign/componentWrapper
webruntimedesign/designmode
- Configuration for
@lbf/interactions
webruntimedesign/StyleManager
- Handles CSS variable update requests on the canvas
Notable dependencies
- @lbf/interactions is used primarily for shadowDOM compatible canvas interactability
- @lbf/utils is used primarily for the included
Window postmessage connection manager