scalajs-angulate icon indicating copy to clipboard operation
scalajs-angulate copied to clipboard

Can a function be passed to a component through a bind entry?

Open jeffmath opened this issue 8 years ago • 0 comments

With a directive, I can pass a function into its isolate scope, using the '=' mode. Then, that function is callable from the directive's controller. I am wanting to convert my directives to components. After much trial and error, I have yet to determine how to pass a function into a component using an '=' entry in its bind dictionary. The docs for components only cover the '@' mode. I am willing to pay you for an example of how to do this.

jeffmath avatar Oct 29 '16 19:10 jeffmath