Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
$scope.mycallback = function(name,type) { return "something"; } |
Since Servoy 8.2 you must also define these functions in a special Api category of the spec, serverApi:
Code Block | ||||
---|---|---|---|---|
| ||||
"serverApi":
{
"mycallback " :{
"returns": "string",
"parameters":[
{
"name":"name",
"type":"string"
},
{
"name":"type",
"type":"string"
}
]
}
} |
then a component can use the servoyapi to call this
...
Overview
Content Tools
Activity