mp-common
Version:
This is XPO MarketPlace common libary
24 lines (18 loc) • 570 B
text/typescript
import { Component, OnInit, Input, EventEmitter, Output } from '@angular/core';
({
selector: 'app-search-box',
templateUrl: './search-box.component.html',
styleUrls: [ './search-box.component.scss' ]
})
export class SearchBoxComponent implements OnInit {
() private placeholder: string;
() searchBoxModel : string;
() searchBoxModelChange = new EventEmitter();
constructor() { }
ngOnInit() {
}
onChange(value){
this.searchBoxModel = value;
this.searchBoxModelChange.emit(value);
}
}