Skip to content

Instantly share code, notes, and snippets.

@danielkuhlwein
Created June 18, 2018 23:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielkuhlwein/8cdefda81b0a6aadf80ddea95c03ca95 to your computer and use it in GitHub Desktop.
Save danielkuhlwein/8cdefda81b0a6aadf80ddea95c03ca95 to your computer and use it in GitHub Desktop.
Example Use of onInputChange
import { Component } from '@angular/core';
import { ContentHeaderService } from '../../../../../SafetySync.Portal.Core/Service/ContentHeader/content-header.service';
@Component({
selector: 'ss-orientation-list',
templateUrl: './orientation-list.component.html',
styleUrls: ['./orientation-list.component.scss']
})
export class OrientationListComponent implements OnInit, DoCheck {
constructor(private headerContentService: ContentHeaderService) { }
onInputChange(event, newValue) {
this.headerContentService.onInputChange(event, newValue);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment