All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.app.molecules.forms.search-field.search-field.component.ts Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';

@Component({
  selector: 'chutney-forms-search-field',
  templateUrl: './search-field.component.html',
  styleUrls: ['./search-field.component.scss']
})
export class SearchFieldComponent implements OnInit {

    @Input() id: string;
    @Input() placeholder: string;
    @Output() searchInputEvent = new EventEmitter();
    @Input() searchInput:  string;

  constructor() { }

  ngOnInit() {
  }

  fireChangeEvent() {
    this.searchInputEvent.emit(this.searchInput);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy