Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

outputs i angular

      
      
      export class ItemOutputComponent {

  @Output() newItemEvent = new EventEmitter<string>();

  addNewItem(value: string) {
    this.newItemEvent.emit(value);
  }
}
    
Source by angular.io #
 
PREVIOUS NEXT
Tagged: #outputs #angular
ADD COMMENT
Topic
Name
5+6 =