template

converts string to templating function

function template(string template);
templatestringtemplate string
functiontemplating function

Example

var line = webix.template("Some #name# code");
var text = line({ name:"Webix" });

Details

While this method is rarely used directly, the same templating logic is used during configuration of data components look.

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.