parse

inits a component defined by markup

void parse(any data,string datatype);

Parameters

dataanydata for parsing (html or xml)
datatypestringdata type - "html" or "xml"

Example

webix.ui(
    webix.markup.parse(text, "xml")
);

Related samples

See also
Back to top