* Call hooks for all new entities that have been created in * the last render from the bottom up.
()
| 288 | */ |
| 289 | |
| 290 | function flushMountQueue () { |
| 291 | while (mountQueue.length > 0) { |
| 292 | var entityId = mountQueue.shift() |
| 293 | var entity = entities[entityId] |
| 294 | trigger('afterRender', entity, [entity.context, entity.nativeElement]) |
| 295 | trigger('afterMount', entity, [entity.context, entity.nativeElement, setState(entity)]) |
| 296 | } |
| 297 | } |
| 298 | |
| 299 | /** |
| 300 | * Clear the current scheduled frame |