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
11
11
12
12
## Installation
13
13
From your command prompt/termial go to your app's root folder and execute:
14
+
14
15
` npm install nativescript-signaturepad `
15
16
16
17
## Usage
18
+ #### XML:
17
19
``` XML
18
20
<Page xmlns =" http://schemas.nativescript.org/tns.xsd"
19
21
xmlns : SignaturePad =" nativescript-signaturepad" >
@@ -23,6 +25,7 @@ From your command prompt/termial go to your app's root folder and execute:
23
25
</Page >
24
26
```
25
27
28
+ #### JS:
26
29
``` JS
27
30
var frame = require (" ui/frame" );
28
31
function getDrawing (args ) {
@@ -38,7 +41,13 @@ exports.getDrawing = getDrawing;
38
41
** penColor - (color string)** - * optional*
39
42
40
43
Attribute to specify the pen (stroke) color to use.
41
-
44
+
42
45
** penWidth - (int)** - * optional*
43
46
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