digitalbazaar / bedrock-angular-authn

Other
0 stars 3 forks source link

login component should use `&` binding instead of two-way `=` binding #2

Open dlongley opened 7 years ago

dlongley commented 7 years ago

The login component currently uses a two-way binding to change a var when login is clicked. Instead, a & binding should be used that uses the brOnEvent naming convention. We can keep the two-way binding around as an optional binding and deprecate it to avoid doing a major revision.

https://github.com/digitalbazaar/bedrock-angular-authn/blob/master/login-component.js#L12