fh-wfm-component-signature
v0.0.8
Published
A signature component for FeedHenry WFM.
Downloads
6
Readme
FeedHenry WFM signature component
A signature component for FeedHenry WFM.
Usage
Require the browserify dependency as an angular module
angular.module('app', [
, require('fh-wfm-component-signature')
...
])
Collecting signatures
The Base64 encoded signature will be assigned to the value attribute of the signature-form
directive.
<signature-form value="ctrl.model"></signature-form>
Displaying signatures
The src
attribute of the image tag is bound to the value
attribute of the signature tag. To display a base64 encoded string, prefix it with the string: data:image/png;base64,
<signature value="ctrl.model"></signature>
Signature CSS styles
Include the module SASS file in your application sass:
@import 'node_modules/fh-wfm-appform/sass/appform.scss';