TasksController = MVC.Controller.extend('tasks',{
mouseenter : function(params){ params.element.style.background = "red" },
mouseleave : function(params){ params.element.style.background = "" }
}) include.plugins('controller/hover')
init(action_name, callback, className, element, action, f, controller) -> undefined
{} -
{} -
{} -
{} -
{String} -
{Function} -
{MVC.Controller} -
matches "(.*?)\\s?(mouseenter|mouseleave)$"
mouseenter() -> undefined
mouseleave() -> undefined