Skip to content

NicoBurno/angular-crypto-pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-crypto-pro

Angular-сервис для crypto-pro

Установка

Через npm:

npm install --save angular-crypto-pro

Документация

angular-crypto-pro является просто оберткой над crypto-pro методом call()

Нужен он только для связи с сервисом $q, который работает с жизненным циклом Angular

Пример использования

Все точно так же как в crypto-pro, только подключайте в виде сервиса:

angular
    .module('your-app', ['angular-crypto-pro'])
    .controller('CryptoProDemoController', (CryptoPro) => {
        CryptoPro.call('getCertsList')
            .then((certList) => {
                console.log(certList);
            })
    });

About

angular сервис для crypto-pro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published