Documentation
handleMessage
Require: IP-Symcon >= 7.1
void handleMessage (variant Data)
Parameters
Data | Any data |
Returns
No return
Description
This function must be implemented if the visualization is to receive and process messages from the module. If the function UpdateVisualizationValue is used in the module, this function is called in return with the same parameter value.
Example
function handleMessage(data) {
// In this example, data simply contains text that may be translated and displayed
document.getElementById('info').textContent = translate(data);
}