Fetch API
var dashboard = new FutureLabs.Dashboard({
config: {
fetch: {
url: 'http://localhost:3010/getData'
},
tabs: {
'User Profiles': {
recordSettings:{
fields: {
Date: { name: 'Date of Birth' },
Status: { name: 'Marital Status'},
Name: { name: 'Name'},
Gender: { name: 'Gender' }
}
}
}
}
},
templateURL: 'dashboard.html',
appendTo: document.querySelector(".dashboard-container")
});Optional Fetch parameters
Last updated