toFunctor

converts a string to a function

function toFunctor(string name);

Parameters

namestringa string to convert

Returns

functiona function object

Example

function check(){
    alert("I'm alive!");
}
webix.toFunctor("check")();

See also
Back to top