hasMethod¶
webix.ui.
hasMethod
(view, method)¶webix.ui.hasMethod helper.
Please look into the linked official documentation.
External references¶
Code¶
1 2 3 4 5 6 7 8 9 | ui.hasMethod = function(view, method){
var obj = webix.ui[view];
if (!obj) return false;
if (obj.$protoWait)
obj = obj.call(webix);
return !!webix.ui[view].prototype[method];
};
|