Skip to main content
added 2 characters in body
Source Link
Vega
  • 28.8k
  • 28
  • 121
  • 151

Taken from ng-select Documentation page

The backgrond color and text color of the highlighted option in the drop-down can be changed using the highlightColor and highlightTextColor properties, as shown in the following example. Single select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters">
</ng-select>

Multiple select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters"
    [multiple]="true">
</ng-select>

The backgrond color and text color of the highlighted option in the drop-down can be changed using the highlightColor and highlightTextColor properties, as shown in the following example. Single select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters">
</ng-select>

Multiple select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters"
    [multiple]="true">
</ng-select>

Taken from ng-select Documentation page

The backgrond color and text color of the highlighted option in the drop-down can be changed using the highlightColor and highlightTextColor properties, as shown in the following example. Single select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters">
</ng-select>

Multiple select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters"
    [multiple]="true">
</ng-select>

Taken from ng-select Documentation page

The backgrond color and text color of the highlighted option in the drop-down can be changed using the highlightColor and highlightTextColor properties, as shown in the following example. Single select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters">
</ng-select>

Multiple select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters"
    [multiple]="true">
</ng-select>
added 2 characters in body
Source Link
Vega
  • 28.8k
  • 28
  • 121
  • 151

Taken from ng-select hereDocumentation page

Highlight color TheThe backgrond color and text color of the highlighted option in the drop-down can be changed using the highlightColor and highlightTextColor properties, as shown in the following example.

Single Single select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters">
</ng-select>

Multiple select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters"
    [multiple]="true">
</ng-select>

Taken from here

Highlight color The backgrond color and text color of the highlighted option in the drop-down can be changed using the highlightColor and highlightTextColor properties, as shown in the following example.

Single select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters">
</ng-select>

Multiple select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters"
    [multiple]="true">
</ng-select>

Taken from ng-select Documentation page

The backgrond color and text color of the highlighted option in the drop-down can be changed using the highlightColor and highlightTextColor properties, as shown in the following example. Single select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters">
</ng-select>

Multiple select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters"
    [multiple]="true">
</ng-select>
Source Link
Vega
  • 28.8k
  • 28
  • 121
  • 151

Taken from here

Highlight color The backgrond color and text color of the highlighted option in the drop-down can be changed using the highlightColor and highlightTextColor properties, as shown in the following example.

Single select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters">
</ng-select>

Multiple select

Component template

<ng-select
    highlightColor="#9575cd"
    highlightTextColor="#fff"
    [options]="characters"
    [multiple]="true">
</ng-select>