Skip to main content

Calls a method that takes arguments, or that is not a getter, on an object.

Fluid reads {object.something} through getSomething(), isSomething() or hasSomething(). Use ui:call for any other method, for example getItemState() on a component's context. Pass the arguments by position:

{context -> ui:call(method: 'getItemState', arguments: {0: item})}
Name Type Description Required Default
object object The object to call a method on No -
method string The method name to call Yes -
arguments array Arguments to pass to the method No []