You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
The documentation of the View module says: "Chaplin has the delegate method to register user input handlers. The declarative events hash doesn’t work well for class hierarchies when several initialize methods register their own handlers. The programatic [typo here] approach of delegate solves these problems."
If you have an item view inside a collection, and the item view needs to register event handlers, the question is: when to do this? The documentation is not clear about this. After some experimentation I found that you need to wait until the collection view is rendered, because at that point all item views are rendered and attached. Can this be clarified in the documentation?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The documentation of the View module says: "Chaplin has the delegate method to register user input handlers. The declarative events hash doesn’t work well for class hierarchies when several initialize methods register their own handlers. The programatic [typo here] approach of delegate solves these problems."
If you have an item view inside a collection, and the item view needs to register event handlers, the question is: when to do this? The documentation is not clear about this. After some experimentation I found that you need to wait until the collection view is rendered, because at that point all item views are rendered and attached. Can this be clarified in the documentation?
The text was updated successfully, but these errors were encountered: