UNPKG

dhxmvp

Version:

A complete boilerplate for building online, offline and syncable MVP Single Page Applications using DHTMLX.

1 lines 731 B
var question={__v:$dhx.ui.mvp.model.helpers.schema.defaults.__v,_id:$dhx.ui.mvp.model.helpers.schema.defaults._id,question:{type:"string","default":"",unique:!1,validate:{required:!0,mask_to_use:void 0,rules:"NotEmpty"},ui:{info:!1,note:"",maxLength:"",form:{label:"Question",type:"input"},grid:{header:"Question",align:"left",coltype:"ro",width:"*"}}},answer:{type:"string","default":"",unique:!1,validate:{required:!0,mask_to_use:void 0,rules:"NotEmpty"},ui:{info:!1,note:"",maxLength:"",form:{label:"Answer",type:"input"},grid:{header:"Answer",align:"left",coltype:"ro",width:"0"}}}};"function"==typeof define&&define.amd?define(function(){return question}):"undefined"!=typeof module&&module.exports&&(module.exports=question);