I am looking for iterating list of objects of arrays
Here is my sample object
var Categories = {
"communication": [
{
"id": "communication_001",
"category": "communication",
"lastModified": "4 Day ago"
},
{
"id": "communication_002",
"category": "communication",
"lastModified": "1 Day ago"
}
],
"social": [
{
"id": "social_001",
"category": "social",
"lastModified": "2 Day ago"
}
],
"storage": [
{
"id": "storage_001",
"category": "storage",
"lastModified": "3 Day ago"
}
]
}
here I am compling with mustache
var htmlTemplate= Mustache.render(template, { connectors: Categories });
so what will be my template for compiling?
Suggest me the mustache template.
via Sam
No comments:
Post a Comment