jQuery.fn.controller  function     

Gets a controller in the jQuery element. With no arguments, returns the first one found.

$.fn.controller(controller) -> jQuery.Controller
{Object}

(optional) if exists, the first controller instance with this class type will be returned.

{jQuery.Controller}

the first controller.

© Jupiter IT - JavaScriptMVC Training and Support