toFunctor

converts a string to a function

function toFunctor(string name);
namestringa string to convert
functiona function object

Example

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

See also
Back to top