Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Angular passing function as component input

<custom-element [valFn]="customVal.bind(this)"></custom-element>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Angular #passing #function #component #input
ADD COMMENT
Topic
Name
5+3 =