st-signature

October 13, 2017 ยท View on GitHub

Built With Stencil

st-signature

st-signature is simple Stencil component that enables the user to sign on screen and to get the bitmap of the signature. The component is based on an article I wrote a few years ago: Building a Signature Control Using Canvas.

Getting Started

To try this component:

git clone https://github.com/gilf/st-signature.git my-app
cd my-app
git remote rm origin

and run:

npm install
npm start

Using this component

Script tag

  • Put the component script tag in the head of your index.html
  • Then you can use the element <st-signature> anywhere in your template, JSX, html etc