merges the contents of several objects together into the first object
| target |
| object | the target object with the new properties |
var code = webix.proto(myobject, webix.MouseEvents);
The method is similar to extend.
The only difference between methods lies in the number of objects to merge: in case of the extend method you deal with one source object, in case of the proto method you have the unlimited number of the source objects.