Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular 2 on data bound event equivalent

<script>
 functionToTrigger(input){
	console.log("name changed")
}
</script>

<input [value]="currentItem.name" (input)="functionToTrigger($event)" />
 
PREVIOUS NEXT
Tagged: #angular #data #bound #event #equivalent
ADD COMMENT
Topic
Name
9+6 =