fh-wfm-component-signature

0.0.8 • Public • Published

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';

Readme

Keywords

Package Sidebar

Install

npm i fh-wfm-component-signature

Weekly Downloads

15

Version

0.0.8

License

SEE LICENSE IN LICENSE.txt

Last publish

Collaborators

  • feedhenry
  • feedhenry-dev
  • grdryn