File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,11 @@ Android | iOS
1111
1212## Installation
1313From 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
2730var frame = require (" ui/frame" );
2831function getDrawing (args ) {
@@ -38,7 +41,13 @@ exports.getDrawing = getDrawing;
3841** penColor - (color string)** - * optional*
3942
4043Attribute 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 )
You can’t perform that action at this time.
0 commit comments