jquery - Loading image in FabricJs -


i working fabricjs in designing web template. have 1 requirement show loading image while canvas loading objects (multiple images , drawing objects). unable find event render after object loaded on canvas. please suggest me solution?

thanks in advance. saloni

you have 1 way achieve task can loop through json object , add them 1 one , after adding them canvas, don't call canvas.renderall(). have call canvas.renderall() after loop completed. way after:render fired once after objects loaded canvas.
can fiddle : http://jsfiddle.net/a6zuy11q/8/


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -