dasf-module custom web component

The dasf-module web component is a the framework agnostic alternative to the ModuleContainer react component.

Example

An example implementation would be

<dasf-module
  websocket-url="ws://<someserver>/ws"
  topic="sometopic"
></dasf-module>
<script type="module" src="/node_modules/@dasf/dasf-messaging/dist/wc/dasf.js"></script>

Properties

For documentation on the properties, please have a look at the ModuleContainerOptions interface. Note that the type of the property determines how the parameter of the custom web component is interpreted. Furthermore note that camel case (such as websocketUrl) will be converted to kebab case (i.e. websocket-url).