1.2.2 • Published 6 years ago
recaptcha-blackgeeks v1.2.2
Recaptcha Blackgeeks
This is just very simple Angular 5 component that implements Image-Text Recaptcha.
HTML View
Installation
Install it from npm:
npm install recaptcha-blackgeeks --save
Usage
Module
...
import { BlackgeeksRecaptchaModule } from 'recaptcha-blackgeeks';
...
...
@NgModule({
imports: [...,BlackgeeksRecaptchaModule]
})
...
View
Use in template like below
<blackgeeks-recaptcha></blackgeeks-recaptcha>
Methods
To access the methods, use @ViewChild.
Import
import { ViewChild } from '@angular/core';
import { RecaptchaComponent } from 'recaptcha-blackgeeks';
export class RegisterComponent {
@ViewChild(RecaptchaComponent) captcha: RecaptchaComponent;
}
Usage
You can request a new captcha to be displayed:
this.captcha.reset();
The previous response can be retrieved:
let status = this.captcha.getResponse();
1.2.2
6 years ago
1.2.1
6 years ago
1.1.19
6 years ago
1.1.18
6 years ago
1.1.17
6 years ago
1.1.16
6 years ago
1.1.15
6 years ago
1.1.14
6 years ago
1.1.13
6 years ago
1.1.12
6 years ago
1.1.11
6 years ago
1.1.10
6 years ago
1.1.9
6 years ago
1.1.8
6 years ago
1.1.7
6 years ago
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
0.0.0
6 years ago