add support for selecting single elements to render

This commit is contained in:
Niklas von Hertzen
2012-02-20 17:16:57 +02:00
parent d5040e119a
commit 0cb252ada9
3 changed files with 220 additions and 2 deletions

View File

@@ -10,6 +10,9 @@
$message = null,
timeoutTimer = false,
timer = date.getTime();
options = options || {};
options.elements = this;
html2canvas.logging = options && options.logging;
html2canvas.Preload(this[0], $.extend({
complete: function(images){