Skip to content

Instantly share code, notes, and snippets.

@ruanzx
Forked from wullemsb/UsageSample.ts
Created May 26, 2016 06:42
Show Gist options
  • Select an option

  • Save ruanzx/3ae1053bd81580bfec4a190ac501262a to your computer and use it in GitHub Desktop.

Select an option

Save ruanzx/3ae1053bd81580bfec4a190ac501262a to your computer and use it in GitHub Desktop.

Revisions

  1. @wullemsb wullemsb revised this gist Nov 2, 2013. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions UsageSample.ts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    $(document.body).html2canvas({});
  2. @wullemsb wullemsb created this gist Nov 2, 2013.
    9 changes: 9 additions & 0 deletions html2canvas.d.ts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    /// <reference path="../jquery/jquery.d.ts" />
    // Type definitions for html2canvas

    interface JQuery {
    html2canvas(options?: any): JQuery;
    }

    declare var html2canvas: JQueryStatic;