Skip to main content

ui:call

Call a method on an object with optional arguments.

Used internally and exposed for convenience.

Examples

{object -> ui:call(method: 'doSomething')}
{object -> ui:call(method: 'doSomethingWithArguments', arguments: {0: 'foo', 1: 'bar'})}

Arguments

Name Type Description Required Default
object object The object to call a method on No null
method string The method name to call Yes null
arguments array Arguments to pass to the method No []