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

51 lines
1.6 KiB
HTML
Raw Normal View History

2025-03-30 18:46:18 +00:00
<mat-toolbar style="background-color: red;">
<button mat-icon-button class="example-icon" aria-label="Example icon-button with menu icon">
<mat-icon>menu</mat-icon>
</button>
<span>My App</span>
<span class="example-spacer"></span>
<button mat-icon-button class="example-icon favorite-icon" aria-label="Example icon-button with heart icon">
<mat-icon>favorite</mat-icon>
</button>
<button mat-icon-button class="example-icon" aria-label="Example icon-button with share icon">
<mat-icon>share</mat-icon>
</button>
</mat-toolbar>
2025-03-15 06:44:02 +00:00
<app-progress-stepper
[steps]="['Bla', 'Noch ein Test', 'Abgeschlossen', '2', '4', '5', '2', '4', '5']"></app-progress-stepper>
2025-03-11 20:18:55 +00:00
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
2025-03-30 18:46:18 +00:00
<mat-form-field appearance="outline">
<mat-label>Choose an option</mat-label>
<mat-select multiple [formControl]="selectedItemsList">
<app-select-filter [array]="allOptions" (filteredReturn)="filteredOptions=$event" (selectAll)="selectAll()"
(unselectAll)="unselectAll()"></app-select-filter>
@for (item of filteredOptions; track $index) {
<mat-option [value]="item">{{item}}</mat-option>
}
</mat-select>
</mat-form-field>
2024-12-09 12:07:12 +00:00
<router-outlet />