Suggestion how to call "Bind" to a Function?
Closed this issue · 2 comments
GeorgeS2019 commented
instance.bind("ready", function () {
instance.method1();
instance.method2();
instance.method3();
}
GeorgeS2019 commented
Do you have suggestion how best to write a lamda statement,
Often the method call the first paramter a List e.g. List, the second parameter is a function(node)
{ that iteratively going through the node properties ).
sps014 commented
void Callback(JObjPtr[] _)
{
_instance.CallVoid("method1");
_instance.CallVoid("method2");
//..
}
_instance.CallVoid("bind","ready",(JSCallBack)Callback);