Skip to content

Support handling loaded events in a consistent manner #259

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

Closed
hdeshev opened this issue May 25, 2016 · 1 comment
Closed

Support handling loaded events in a consistent manner #259

hdeshev opened this issue May 25, 2016 · 1 comment

Comments

@hdeshev
Copy link
Contributor

hdeshev commented May 25, 2016

At the moment, if you don't use the router, it is impossible to attach to the loaded event in from html markup (we attach the event after adding the view to the visual tree, and the event never fires).

It looks pretty convenient to just add a <TextField #searchBox (loaded)="myHandler(searchBox)"> binding and avoid dealing with ViewChild decorators and ElementRef's.

Related #200, #250

@nsndeck
Copy link
Contributor

nsndeck commented May 31, 2016

Fixed with commit #260.

@nsndeck nsndeck closed this as completed May 31, 2016
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

2 participants