8 lines
256 B
JavaScript
8 lines
256 B
JavaScript
this.CoreSitesProvider.getSite().then(site => {
|
|
const username = site.infos.username;
|
|
|
|
document.getElementById('username').innerText = `, ${username}`;
|
|
});
|
|
|
|
this.ngAfterViewInit = () => this.CoreDomUtilsProvider.showToast('Lifecycle hook called');
|