Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="card-body">
- <h5>Document List</h5>
- <div class="form-check" *ngFor="let document of documents">
- <label class="form-check-label" for="check1">
- <input type="checkbox" class="form-check-input" id="check1" [value]= "document.docId"
- name="document.docName" (click)="callMe(document.docId)" >{{document.docName}}
- </label>
- </div>
- </div>
- callMe(id:any){
- console.log(id);
- }
- export class Document {
- docId:number;
- docName:number;
- }
Add Comment
Please, Sign In to add comment