You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.
Sorry for the silly question but I have been researching for hours now on how to implement that call in Angular. I tried inserting it inside one of my components but I don't think it seems to work since it doesn't appear in the list of scripts in the elements tab of my Chrome DevTools.
Here's a picture that shows the script tag isn't being included.
Hi,
Sorry for the silly question but I have been researching for hours now on how to implement that call in Angular. I tried inserting it inside one of my components but I don't think it seems to work since it doesn't appear in the list of scripts in the elements tab of my Chrome DevTools.
Here's a picture that shows the script tag isn't being included.
I inserted the tag this way:
---- sample.component.html ----
<script type="text/javascript"> window.renderComplete = hasRendered; </script>
---- sample.component.ts ----
export class SampleComponent {
ngOnInit() {
this.route.params.subscribe((params) => {
this.eventId = params['eventUrl'];
this.organizerUrl = params['partnerUrl'];
this.eventService.getEvent(this.eventId).then(event => {
this.initializeEventData(event);
this.hasRendered = true;
});
});
}
}
The text was updated successfully, but these errors were encountered: