Skip to content

Commit

Permalink
bump/add comments to def
Browse files Browse the repository at this point in the history
  • Loading branch information
bradmartin committed Aug 6, 2016
1 parent 7f989de commit 05e751c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
19 changes: 17 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
import common = require("./drawingpad-common");
export declare class DrawingPad extends common.DrawingPad {
private _android;
android: any;
ios: any;
_nativeView: any;
_createUI(): void;

/**
* Returns native image.
*/
getDrawing(): Promise<any>;

/**
* Returns a bitmap with a transparent background *** ANDROID ONLY ***
*/
getTransparentDrawing(): Promise<any>;

/**
* Returns a Scalable Vector Graphics document *** ANDROID ONLY ***
*/
getDrawingSvg(): Promise<any>;

/**
* Clears the drawing from the DrawingPad.
*/
clearDrawing(): any;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-drawingpad",
"version": "1.1.0",
"version": "1.1.1",
"main": "drawingpad.js",
"typings": "index.d.ts",
"description": "A NativeScript plugin to provide a way to capture any drawing (signatures are a common use case) from the device screen.",
Expand Down

0 comments on commit 05e751c

Please sign in to comment.