javascript - Generate Keystone List Name Programmatically -


how go generating keystone list name programmatically?

i'm looking this...

var font = new keystone.list('font', {     // ↓↓↓ ↓↓↓ here ↓↓↓     map: { name: 'typefacename + weightname' },     track: true,     schema: { collection: 'font' } });  font.add({     typefacename: { type: string, initial: true, required: true},     weightname: { type: string , initial: true, required: true} }); 

which generate name, so. enter image description here


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -