17.0.0 • Published 1 year ago

irisa-dnt-captcha v17.0.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

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();

17.0.0

1 year ago

0.0.2

2 years ago

0.0.1

2 years ago