WebDataRocks End User License Agreement (“Agreement”) has been revised and is effective as of April 18, 2024.
The following modifications have been made:
The modified version of WebDataRocks End User License Agreement is available here.
Downloading, installing, and/or continuing to use WebDataRocks after April 18, 2024, constitutes your acceptance of the terms and conditions of the modified version of WebDataRocks End User License Agreement. If you do not agree to any of these terms and conditions, do not download, install, use, or access (or continue to access) WebDataRocks.
on(eventName:String, function:Function|String)
Attaches a JavaScript event handler to the specified event. Follow the link to see a full list of events.
Name | Type | Description |
---|---|---|
eventName | String | Specifies a name of the component’s event. |
function | Function|String | Specifies a name of a JavaScript function or a function itself that should be an event handler for the specified event. |
Add an event handler to the 'reportchange'
event
webdatarocks.on('reportchange', 'onReportChange'); function onReportChange(result) { alert('The report has been changed!'); }
See the CodePen demo.