MCPcopy
hub / github.com/anthonyshort/deku / flushMountQueue

Function flushMountQueue

lib/render.js:290–297  ·  view source on GitHub ↗

* Call hooks for all new entities that have been created in * the last render from the bottom up.

()

Source from the content-addressed store, hash-verified

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

Callers 1

renderFunction · 0.85

Calls 2

triggerFunction · 0.85
setStateFunction · 0.85

Tested by

no test coverage detected