mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
* "show less" button for search filter container * consistent button styles across widgets * i18n support for facets * page sizes for check list * display page buttons only when needed * page sizes for all facet fields * test fixes * update lib versions * fix angular configuration
25 lines
811 B
HTML
25 lines
811 B
HTML
<mat-radio-group
|
|
[(ngModel)]="value"
|
|
(change)="changeHandler($event)">
|
|
<mat-radio-button
|
|
*ngFor="let option of options"
|
|
[value]="option.value">
|
|
{{ option.name | translate }}
|
|
</mat-radio-button>
|
|
</mat-radio-group>
|
|
|
|
<div class="facet-buttons" *ngIf="!options.fitsPage">
|
|
<button mat-icon-button
|
|
[disabled]="!options.canShowLessItems"
|
|
title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-LESS' | translate }}"
|
|
(click)="options.showLessItems()">
|
|
<mat-icon>keyboard_arrow_up</mat-icon>
|
|
</button>
|
|
<button mat-icon-button
|
|
[disabled]="!options.canShowMoreItems"
|
|
title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-MORE' | translate }}"
|
|
(click)="options.showMoreItems()">
|
|
<mat-icon>keyboard_arrow_down</mat-icon>
|
|
</button>
|
|
</div>
|