PDF.js Express Custom annotations

Trying to push my luck here :grinning:
Can someone help me find the example code for signature field?
I am trying to get the functionality shown here https://pdfjs.express/documentation/signature/signature-field.