dasf-function custom web component
The dasf-function web component is a the framework agnostic alternative to the
FunctionContainer react component.
Example
An example implementation would be
<dasf-function
websocket-url="ws://<someserver>/ws"
topic="sometopic"
output-description="Some description for the output"
function-name="test_function"
>
</dasf-function>
<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
FunctionContainerOptions 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).