registerFunction
[ Function ]
function registerFunction(
name: string,
func: (...args: any[]) => any
): void;Registers a function created within a TwinCAT HMI project in the framework.
![]() | Since version 1.12 this function is considered obsolete. The use of the function registerFunctionEx is recommended. |
Parameters
Name | Type | Description |
|---|---|---|
name | The name with which the function is registered in the framework. | |
| A reference to the function to be registered. |
Return value
Type | Description |
|---|---|
void | No return value |
![]() | Available from 1.8 |
