irisa-dnt-captcha
v17.0.0
Published
html:
Downloads
7
Readme
html:
<dnt-captcha #appDntCaptcha [(inputText)]="sharedService.model.DNTCaptchaInputText" [(text)]="sharedService.model.DNTCaptchaText" class="w-100" [(token)]="sharedService.model.DNTCaptchaToken" [backColor]="'#abd5d6'" [fontName]="'Tahoma'" [fontSize]="18" [foreColor]="'#142379'" [language]="'Persian'" [max]="90" [min]="1" [placeholder]="'Labels.EnterSum' | translate">
ts: import { DntCaptchaComponent } from 'irisa-dnt-captcha'; import { DNTCaptchaBase } from 'irisa-dnt-captcha';
//extend your model with DNTCaptchaBase model: ForgetPasswordModel & DNTCaptchaBase = { DNTCaptchaInputText: '', DNTCaptchaText: '', DNTCaptchaToken: '' };
@ViewChild("appDntCaptcha") appDntCaptcha: DntCaptchaComponent;
// refresh captcha this.appDntCaptcha.doRefresh();