new Invocation(destination, slot, value)
Defines an invocation
Parameters:
Name | Type | Description |
---|---|---|
destination |
object | component on which to perform invocation |
slot |
string | name of the slot |
value |
mixed | value passed to the invoked slot |
- Source:
Methods
-
<static> cast(obj, context)
-
Helper function that casts an invocation from a description
Parameters:
Name Type Description obj
object a raw description of the invocation context
object the context in which this invocation takes place. - Source:
Returns:
an invocation