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

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World