angular-comment-mentions/src/app/app.component.html

23 lines
480 B
HTML
Raw Normal View History

2024-12-09 12:07:12 +00:00
<div>
Textbox:
<div>
<mat-form-field>
<mat-label>Textarea</mat-label>
<textarea matInput></textarea>
</mat-form-field>
</div>
2024-12-01 09:54:48 +00:00
2024-12-09 12:07:12 +00:00
Enter your comments here:
2024-12-01 09:54:48 +00:00
2024-12-09 12:07:12 +00:00
<app-comment-box></app-comment-box>
2024-12-01 09:54:48 +00:00
2024-12-09 12:07:12 +00:00
<mat-form-field class="box">
<mat-label>Textarea</mat-label>
<app-comment-box [formControl]="form" [mentionListItems]="selectionList"></app-comment-box>
</mat-form-field>
</div>
2024-12-01 09:54:48 +00:00
2024-12-09 12:07:12 +00:00
<div>Comment Value: {{parseComment(form)}}</div>
2024-12-01 09:54:48 +00:00
2024-12-09 12:07:12 +00:00
<router-outlet />