File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 9
9
10
10
### 🏠 [ Homepage] ( https://github.com/ifakejs/signature )
11
11
12
+ [ DEMO] ( https://ifakejs.github.io/signature/ ) is here.
13
+
12
14
## Install
13
15
Make sure you have node.js installed on your machine before proceeding.
14
16
``` sh
@@ -44,7 +46,7 @@ interface Options {
44
46
strokeStyle? : string | CanvasGradient | CanvasPattern
45
47
fullPage? : boolean
46
48
degree? : number
47
- canvasProcessor? : (ctx : HTMLCanvasElement ) => void
49
+ canvasProcessor? : (canvas : HTMLCanvasElement ) => void
48
50
ctxProcessor? : (ctx : CanvasRenderingContext2D ) => void
49
51
}
50
52
```
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @ifake/signature" ,
3
- "version" : " 0.0.0 " ,
3
+ "version" : " 0.0.1 " ,
4
4
"description" : " A signature library for web." ,
5
5
"main" : " dist/index.umd.js" ,
6
6
"module" : " lib/index.esm.js" ,
17
17
"postpublish" : " git push origin --all; git push origin --tags" ,
18
18
"postversion" : " npm publish"
19
19
},
20
+ "publishConfig" : {
21
+ "access" : " public"
22
+ },
20
23
"files" : [
21
24
" lib" ,
22
25
" dist"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export interface DefOptions {
9
9
readonly isMobile : boolean
10
10
readonly devicePixelRatio : number
11
11
readonly degree : number
12
- ctxProcessor ?: ( ctx : CanvasRenderingContext2D ) => void
12
+ ctxProcessor ?: ( canvas : CanvasRenderingContext2D ) => void
13
13
canvasProcessor ?: ( ctx : HTMLCanvasElement ) => void
14
14
}
15
15
You can’t perform that action at this time.
0 commit comments