Component.createDelegate Method

Helper for creating delegate functions.
 

Parameters

func

Type: Function
The contents of the delegate.
context

Type: Object
The context to run with the delegate.

Return Value


Type: Function
A function delegate.