Guest User

Untitled

a guest
Nov 14th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. <div class="card-body">
  2. <h5>Document List</h5>
  3. <div class="form-check" *ngFor="let document of documents">
  4. <label class="form-check-label" for="check1">
  5. <input type="checkbox" class="form-check-input" id="check1" [value]= "document.docId"
  6. name="document.docName" (click)="callMe(document.docId)" >{{document.docName}}
  7. </label>
  8. </div>
  9. </div>
  10.  
  11. callMe(id:any){
  12. console.log(id);
  13. }
  14.  
  15. export class Document {
  16.  
  17. docId:number;
  18. docName:number;
  19.  
  20. }
Add Comment
Please, Sign In to add comment