Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 3.02 KB

README.md

File metadata and controls

32 lines (26 loc) · 3.02 KB

Código5 Signature Widget

That's a JS widget to inject the Código5.com.br private signature automagically.

How to Install

  • Insert the following snippet code:
<div class="codigo5-signature-widget-wrapper"></div>
<script src="//cdn.codigo5.com.br/signature/signature-widget.min.js"></script>
<script>cod5.signatureWidget.bootstrap({ theme: 'dark' });</script>

Options

Name Description Type Valid options Default value
selector DOMElement selector string any '.codigo5-signature-widget-wrapper'
autoLoadDeps Whether or not load the dependencies boolean true/false true
theme Theme identifier enum, string, number dark/light 'light'
cdnBaseUrl CDN base url to fetch the dependencies string any 'http://cdn.codigo5.com.br/signature'
logoWidth Logo image width string, number any 200
logoHeight Logo image height string, number any 49

Contributors

You can view the authors right here.

Contributing

Check CONTRIBUTING.md.

Questions

Do you have any question? Contact us.

License

Código5 Signature Widget is licensed under the MIT license.