hasMethod

checks whether the abstract view class in question has the method

boolean hasMethod(string name,string method_name);

Deprecated

Will be removed in Webix 7.0

Parameters

namestringname of view
method_namestringname of method

Returns

booleantrue, if the method is supported, otherwise false

Example

var result = webix.ui.hasMethod("popup", "setPosition");

Back to top