framework7-plugin-feeds icon indicating copy to clipboard operation
framework7-plugin-feeds copied to clipboard

formatDate function not passed as param

Open SharmPRO opened this issue 7 years ago • 0 comments

In the following: <f7-list class="feeds-init" data-url="http://app-preview.sharmpro.com/news/news.php" data-openIn="popup" data-formatDate="myFormatDate" data-itemPopupTemplate = "feedsItemPopupTemplate" >

data-formatDate="myFormatDate" is ignored as the parameter is not passed (so default is always uesd) to app.feeds from file: framework7.feeds.js line 257: app.feeds(this, { url: f.attr('data-url'), openIn: f.attr('data-openIn') || undefined, virtualList: f.attr('data-virtualList') || undefined, listTemplate: f.attr('data-listTemplate') && app.templates && app.templates[f.attr('data-listTemplate')] || undefined, itemPageTemplate: f.attr('data-itemPageTemplate') && app.templates && app.templates[f.attr('data-itemPageTemplate')] || undefined, itemPopupTemplate: f.attr('data-itemPopupTemplate') && app.templates && app.templates[f.attr('data-itemPopupTemplate')] || undefined, });

SharmPRO avatar Jul 03 '17 18:07 SharmPRO