let emitObj = {};
emitObj[srchTxtlabel] = this.val1;
this.AdvancedSrchEvent.emit(emitObj)
More Related Contents:
- Angular 7 go offline?
- How to add number with variable name? [duplicate]
- How do I download a file with Angular2 or greater
- (change) vs (ngModelChange) in angular
- Angular4 – No value accessor for form control
- Typescript Type ‘string’ is not assignable to type
- Angular 2 Karma Test ‘component-name’ is not a known element
- Property ‘value’ does not exist on type EventTarget in TypeScript [duplicate]
- How to call JavaScript functions from Typescript in Angular 5?
- How to do the chain sequence in rxjs
- Angular 6: How to set response type as text while making http call
- ngOnInit not being called when Injectable class is Instantiated
- using external JS libraries in my angular 2 project
- npm WARN … requires a peer of … but none is installed. You must install peer dependencies yourself
- Property ‘entries’ does not exist on type ‘ObjectConstructor’
- Is it a good practice using Observable with async/await?
- How to check for isBrowser in Angular 4
- Unraveling Angular 2 book, Chapter 1, Example 5
- How to achieve a debounce service on input keyup event in angular2 with rxjs
- Angular 2 Component @Input not working
- Highlight the search text – angular 2
- Cast int to enum strings in Typescript
- angular 4+ assign @Input for ngComponentOutlet dynamically created component
- How to loop over object properties with ngFor in Angular
- Converting an image to base64 in angular 2
- how to define index in angular material table
- Storing Objects in localStorage
- TypeScript TS7015: Element implicitly has an ‘any’ type because index expression is not of type ‘number’
- Google Sign-In for Websites and Angular 2 using Typescript
- Filter Array in Array by date between 2 dates