mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
* [ADF-3713] Implement Search radio component tests * Fixing the double quotes and whitespaces * Changing names of methods * More renamings * Removing trailing whitespace * Refactoring of search filters tests * Small changes
31 lines
1.0 KiB
HTML
31 lines
1.0 KiB
HTML
<mat-radio-group
|
|
[(ngModel)]="value"
|
|
(change)="changeHandler($event)">
|
|
<mat-radio-button [attr.data-automation-id]="'search-radio-'+(option.name | translate)"
|
|
*ngFor="let option of options"
|
|
[value]="option.value"
|
|
class="facet-filter">
|
|
<div
|
|
matTooltip="{{ option.name | translate }}"
|
|
matTooltipPosition="right"
|
|
class="filter-label">
|
|
{{ option.name | translate }}
|
|
</div>
|
|
</mat-radio-button>
|
|
</mat-radio-group>
|
|
|
|
<div class="facet-buttons" *ngIf="!options.fitsPage">
|
|
<button mat-icon-button
|
|
*ngIf="options.canShowLessItems"
|
|
title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-LESS' | translate }}"
|
|
(click)="options.showLessItems()">
|
|
<mat-icon>keyboard_arrow_up</mat-icon>
|
|
</button>
|
|
<button mat-icon-button
|
|
*ngIf="options.canShowMoreItems"
|
|
title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-MORE' | translate }}"
|
|
(click)="options.showMoreItems()">
|
|
<mat-icon>keyboard_arrow_down</mat-icon>
|
|
</button>
|
|
</div>
|