I try to bind data with template7 i got following error.
error message : framework7.js:9953 Uncaught TypeError: Cannot read property ‘f7Modal’ of undefined
//template7 function
function Template7Pages(scriptId, htmlId, list) {
var listTemplate = $$(‘script#’ + scriptId).html();
var compiledListTemplate = Template7.compile(listTemplate);
compiledListTemplate(list)
}
//calling function
Template7Pages(‘clublistTemplate’, ‘clublist’, clubobj);
framework7.js:9953 Uncaught TypeError: Cannot read property ‘f7Modal’ of undefined