[ | |
{ | |
"namespace": "functions_as_parameters", | |
"description": "The functionsAsParameters API", | |
"types": [ | |
{ | |
"id": "FunctionType", | |
"type": "object", | |
"properties": { | |
"event_callback": { | |
"type": "function", | |
"parameters": { } | |
} | |
} | |
}, | |
{ | |
"id": "OptionalFunctionType", | |
"type": "object", | |
"properties": { | |
"event_callback": { | |
"type": "function", | |
"optional": true, | |
"parameters": { } | |
} | |
} | |
} | |
] | |
} | |
] |