Functions created by the controller that typically respond to events.
These methods can be called on generated controller classes, i.e. TodosController
new Controller.Action(name, func,className) -> Controller.Action
Creates a new controller action.
controller_action.selector_order() -> Array
Returns the parsed selector part of the Controller.Action converted into objects that represent its ordering.
selector_order.node_path(el) -> Array
Returns an array of objects that represent the path of the node to document.body.
selector_order.match(element) -> false or HTMLElement
If the controller action's selector matches the element, returns the highest parent element of element where the match occurs. If the element is not matched by the action's selector, it returns false;