Files
alfresco-ng2-components/lib/content-services/search/components/search-radio/search-radio.component.html
Denys Vuika ba35eda2f9 search fixes (#3272)
* "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
2018-05-08 13:41:27 +01:00

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>