Skip to content

Commit f2f17a4

Browse files
committed
MOBILE-3277 siteplugins: Let site plugins use the fetchContent function
1 parent d3455aa commit f2f17a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/siteplugins/components/plugin-content/plugin-content.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export class CoreSitePluginsPluginContentComponent implements OnInit, DoCheck {
102102
this.jsData = Object.assign(this.data, this.sitePluginsProvider.createDataForJS(this.initResult, result));
103103

104104
// Pass some methods as jsData so they can be called from the template too.
105+
this.jsData.fetchContent = this.fetchContent.bind(this);
105106
this.jsData.openContent = this.openContent.bind(this);
106107
this.jsData.refreshContent = this.refreshContent.bind(this);
107108
this.jsData.updateContent = this.updateContent.bind(this);

0 commit comments

Comments
 (0)