@communities-webruntime/design
v1.66.8
Published
Design-time libraries for Lightning Web Runtime
Downloads
1,290
Readme
@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
- Used by
view-template-generator
, exposes region-related metadata to the DOM
webruntimedesign/componentWrapper
- Used by
view-template-generator
, exposes component-related metadata to the DOM
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