Skip to content

Commit 70595ce

Browse files
committed
added screens
1 parent b4e0693 commit 70595ce

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ Android | iOS
1111

1212
## Installation
1313
From your command prompt/termial go to your app's root folder and execute:
14+
1415
`npm install nativescript-signaturepad`
1516

1617
## Usage
18+
#### XML:
1719
```XML
1820
<Page xmlns="http://schemas.nativescript.org/tns.xsd"
1921
xmlns:SignaturePad="nativescript-signaturepad">
@@ -23,6 +25,7 @@ From your command prompt/termial go to your app's root folder and execute:
2325
</Page>
2426
```
2527

28+
#### JS:
2629
```JS
2730
var frame = require("ui/frame");
2831
function getDrawing(args) {
@@ -38,7 +41,13 @@ exports.getDrawing = getDrawing;
3841
**penColor - (color string)** - *optional*
3942

4043
Attribute to specify the pen (stroke) color to use.
41-
44+
4245
**penWidth - (int)** - *optional*
4346

44-
Attribute to specify the pen (stroke) width to use.
47+
Attribute to specify the pen (stroke) width to use.
48+
49+
## Sample Screenshots
50+
51+
Sample 1 | Sample 2
52+
-------- | ---------
53+
![Sample1](sample1.png) | ![Sample2](sample2.png)

sample1.png

213 KB
Loading

sample2.png

183 KB
Loading

0 commit comments

Comments
 (0)