MG.onReady method
Description
Use MG.onReady
to register a function to be called when the containing form is initialized and ready for interactions. This is similar to the WSUserControl.onReady
method in previous versions.
Syntax
MG.onReady(callbackFn, scope)
Parameters
This table describes the method parameters.
Name | Type | Description |
---|---|---|
callbackFn |
Function | Specify this function to call when server-side assembly messages are received. |
scope | Object | Optionally, specify the value of “this” used when the callbackFn function is executed. |