ControlsFactory.getControllerFor() method

Returns an existing controller instance for the given object, if one exists.

Signature:

getControllerFor(obj: any): ControllerInstance | null;

Parameters

Parameter

Type

Description

obj

any

The controlled object

**Returns:**

ControllerInstance | null

The controller instance