core/color-input/color-input.component.ts

Implements

ControlValueAccessor

Metadata

Relationships

<div class="input-group">
  <div class="color-input form-control">
    <div class="c8y-colorpicker">
      <input
        type="color"
        [disabled]="isDisabled"
        [ngModelOptions]="{ standalone: true }"
        [ngModel]="currentValue"
        (ngModelChange)="valueChange($event)"
      />
      <span [style.background-color]="currentValue"></span>
    </div>
  </div>
  <input
    class="form-control"
    type="text"
    [disabled]="isDisabled"
    [ngModelOptions]="{ standalone: true }"
    [ngModel]="currentValue"
    (ngModelChange)="valueChange($event)"
  />
</div>

results matching ""

    No results matching ""