Skip to content

Instantly share code, notes, and snippets.

@ovpv

ovpv/home.page.html

Created Mar 29, 2019
Embed
What would you like to do?
Homepage html click method call
<ion-header>
<ion-toolbar>
<ion-title>
Ionic Blank
</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<div class="ion-padding">
<ion-button
(click)="
download(
'https://www.alejandrodelasota.org/wp-content/uploads/2013/03/demoform1.pdf',
'Demo PDF'
)
"
>Click to View Doc</ion-button
>
</div>
</ion-content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment