1.0.1 • Published 7 years ago

testing-simplus-ocr-caller v1.0.1

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

OCRCaller

Script de importação de app de OCR para sistema Simplus.

Como usar

Importando Dependência

Basta incluir a dependência via npm:

npm -s i testing-simplus-ocr-caller

Importa-la da forma que for mais conveniente:

ES Modules

import OCRCaller from 'testing-simplus-ocr-caller';

OU

CommonJS

const OCRCaller = require('testing-simplus-ocr-caller');

OU

AMD Require

require(
    [
        'testing-simplus-ocr-caller'
    ],
    (OCRCaller) => {
        // code
    }
);

OU

AngularJS:

someModule.controller(
    'MyController', 
    [
      '$scope',
      'testing-simplus-ocr-caller
    '], 
    function($scope, OCRCaller) {

    }
);

Iniciando o OCRCaller

Após os dados da página terem sido carregados, chame a função importada:

OCRCaller();