templateType

specifies the template applied for the type of a file

function templateType;

Example

templateType: function templateType(obj) {
    var types = webix.i18n.filemanager.types;
    return types && types[obj.type] ? types[obj.type] : obj.type;
}

Back to top