Skip to content

Commit

Permalink
Update demo showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
almothafar committed Nov 2, 2024
1 parent d436749 commit 691089e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ npm install @almothafar/angular-signature-pad --save

## Reference Implementation

* [Live Demo](http://lathonez.com/angular2-signaturepad-demo/)
* [Source](https://github.com/lathonez/angular2-signaturepad-demo)
* [Live Demo](https://almothafar.github.io/angular-signature-pad/)
* [Source](https://github.com/almothafar/angular-signature-pad/tree/master/projects/demo)

## Usage example

Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
<link rel="stylesheet" href="styles-5INURTSO.css"></head>
<body>
<app-root></app-root>
<script src="polyfills-FFHMD2TL.js" type="module"></script><script src="main-KKMR2DNA.js" type="module"></script></body>
<script src="polyfills-FFHMD2TL.js" type="module"></script><script src="main-LI64OOJW.js" type="module"></script></body>
</html>
2 changes: 1 addition & 1 deletion docs/main-KKMR2DNA.js → docs/main-LI64OOJW.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions projects/demo/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ export class AppComponent implements AfterViewInit {
options: {backgroundColor: 'rgb(255,255,255)'},
},
{
options: {canvasBackground: 'rgb(255, 255, 255) url(/assets/sign-here.png) bottom left no-repeat', penColor: 'rgb(255, 0, 0)'},
options: {canvasBackground: 'rgb(255, 255, 255) url(assets/sign-here.png) bottom left no-repeat', penColor: 'rgb(255, 0, 0)'},
quality: 0.5,
imageType: 'image/jpeg',
},
{
options: {canvasBackground: 'rgb(0, 0, 255) url(/assets/sign-here.png) bottom left no-repeat', penColor: 'rgb(255, 255, 0)'},
options: {canvasBackground: 'rgb(0, 0, 255) url(assets/sign-here.png) bottom left no-repeat', penColor: 'rgb(255, 255, 0)'},
quality: 0.8,
imageType: 'image/jpeg',
},
{
options: {canvasBackground: 'url(/assets/sign-here.png) bottom left no-repeat, center / cover url(/assets/cat-sig.png)', canvasHeight: 400}
options: {canvasBackground: 'url(assets/sign-here.png) bottom left no-repeat, center / cover url(assets/cat-sig.png)', canvasHeight: 400}
}
];
public titles: string[] = [
Expand Down

0 comments on commit 691089e

Please sign in to comment.