Problem with Custom UI node

Hello,

I have a problem updating the custom UI node in the dashboard.

Is it possible to change the format parameter of addWidget, e.g. in the node.on function or in the beforeEmit property? The result should be that a different HTML code is displayed in the dashboard when a new message arrives.