WebAPI/WebPrintAPI: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 70: Line 70:
     // If the drawing takes very long, the developer might want to use
     // If the drawing takes very long, the developer might want to use
     // setTimeouts and continue the painting later one.
     // setTimeouts and continue the painting later one.
     if (printingTakesLong()) {
     if (printingWillTakeLong()) {
       setTimeout(function() {
       setTimeout(function() {
         // Continue drawing...
         // Continue drawing...
49

edits