Skip to content

Commit 41c9a74

Browse files
Create HTML File.html
Defines the visual structure of the signature pad. It includes a <canvas> for drawing and two buttons for clearing or attaching the signature.
1 parent ac96dd4 commit 41c9a74

File tree

1 file changed

+12
-0
lines changed
  • Modern Development/Service Portal Widgets/Signature Pad Widget

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<div class="text-center">
2+
<!-- Canvas area for drawing signature -->
3+
<canvas id="signature-pad" width="400" height="200"
4+
style="border:1px solid #ccc; border-radius:8px; cursor:crosshair; touch-action:none;">
5+
</canvas>
6+
7+
<!-- Action buttons -->
8+
<div class="mt-3">
9+
<button class="btn btn-primary" ng-click="c.clearSignature()">Clear</button>
10+
<button class="btn btn-success" ng-click="c.attachSignature()">Attach Signature</button>
11+
</div>
12+
</div>

0 commit comments

Comments
 (0)