Skip to content

Instantly share code, notes, and snippets.

Created Sep 21, 2020
What would you like to do?
Trigger File Downloads
ngOnInit(): void {
this.thankYouDetails = this.campaign.thankYouMessage;
public downloadMaterials(materials: Material[]) {
materials.forEach(m => {
window.location.href = m.metadata.file.url;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment