$scope

scope for resolving event and method names

object $scope;

Example

some.$scope = {
   action:function(){ alert("works"); }
};
some.attachEvent("onItemClick", "action");

Details

When event name or click handler defined as string name, component will check is the handler with such name exists in the $scope object first, and only after that will try to locate the global handler with the same name.

Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 library and page of tree table product.