1.2.2 • Published 7 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
7 years ago
1.2.1
7 years ago
1.1.19
7 years ago
1.1.18
7 years ago
1.1.17
7 years ago
1.1.16
7 years ago
1.1.15
7 years ago
1.1.14
7 years ago
1.1.13
7 years ago
1.1.12
7 years ago
1.1.11
7 years ago
1.1.10
7 years ago
1.1.9
7 years ago
1.1.8
7 years ago
1.1.7
7 years ago
1.1.6
7 years ago
1.1.5
7 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
0.0.0
7 years ago