Ionic2 - Get Signature value


I’m trying to follow to get users signature. I’m up to the point where it’s displaying the signature canvas and the user can sign but I don’t know how to get the signature value or clear the canvas based on a clear button. I think the issue is with me because I still don’t fully understand how to bind a custom component


      <div [formGroup]="sigForm">
        <signature-field formControlName="signatureField" ></signature-field>
        <button ion-button (click)="clearSignature()" >Clear</button>
    this.sigForm ={
       signatureField: '',
1 Like