Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jeffmath opened this issue Oct 29, 2016 · 0 comments
Open

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

jeffmath opened this issue Oct 29, 2016 · 0 comments

Comments

@jeffmath
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant