// #docregion
import {Directive, ElementRef} from '@angular/core';

// eslint-disable-next-line @angular-eslint/directive-selector
@Directive({selector: 'input'})
/** Highlight the attached input text element in blue */
export class InputHighlightDirective {
  constructor(el: ElementRef) {
    el.nativeElement.style.backgroundColor = 'powderblue';
  }
}
