core/list-display-switch/list-display-switch.component.ts

Implements

OnInit

Metadata

Relationships

<div class="d-flex a-i-center">
  <label class="m-r-8 m-b-0" id="listLabel">
    {{ 'Display as' | translate }}
  </label>
  <div class="c8y-select-wrapper">
    <select
      aria-labelledby="listLabel"
      name="listLabel"
      class="form-control"
      [ngModel]="selectedOption"
      (ngModelChange)="onOptionSelect($event)"
      [attr.aria-label]="'Display mode' | translate"
    >
      <option *ngFor="let option of DISPLAY_OPTIONS" [ngValue]="option">
        {{ option.label | translate }}
      </option>
    </select>
    <span></span>
  </div>
</div>

results matching ""

    No results matching ""