Waypoint triggered by comment-section. Now triggered by social-comment.#158
Waypoint triggered by comment-section. Now triggered by social-comment.#158TMSBK wants to merge 4 commits intoedemo:masterfrom
Conversation
| const MAX_LENGTH = 400; | ||
|
|
||
| Template.Comment.onRendered(function () { | ||
| Waypoint.refreshAll(); |
There was a problem hiding this comment.
Nem kene itt valahova egy subscriptionsReady?
Amikor rajzoljuk ki a kommenteket, es rendereljuk ki oket sorba, mindegyik utan az osszes Waypoint-ot ujra fogjuk szamolni.
Sok comment eseten nem fogja ez baromira belassitani a board kirenderelest?
There was a problem hiding this comment.
Hát meg lehet azt csinálni valahogy, hogy egy child template onRendered eventje csak azután működjön, hogy a parent template subscriptionReady értéke true?
There was a problem hiding this comment.
Biztos meglehet. Csak hivatkozni kene tudni innen a parent-ra.
A Blaze-ben is fel lehet hivatkozni ugy hogy ../
akkor itt is biztos lehet valahogy.
Akkor ugy jo lenne, ha csak akkor fut le, ha mar subscriptionReady van, es nem minden egyes komment utan.
No description provided.