Skip to content

Instantly share code, notes, and snippets.

@geykel
Last active August 2, 2017 00:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save geykel/ae5123158bb4bd3592a3a0bd225f288d to your computer and use it in GitHub Desktop.
<ion-header>
<ion-navbar>
<ion-title>
Ionic Blank
</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<button ion-button full (click)="takePicture()">Tomar foto</button>
<img *ngIf="base64Image" [src]="domSanitizer.bypassSecurityTrustUrl(base64Image)">
</ion-content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment