0.18.49 • Published 4 years ago

@webruntime/design v0.18.49

Weekly downloads
3
License
MIT
Repository
-
Last release
4 years ago

@webruntime/design

Summary

This is a Webruntime-specific adapter between @webruntime/framework 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