@semantic-components/re-captcha
Version:
**@semantic-components/re-captcha** is an Angular library designed to simplify the integration of Google reCAPTCHA into your Angular applications. It supports reCAPTCHA v2 and v3, providing an easy-to-use API and seamless setup for enhancing your app's se
13 lines (12 loc) • 435 B
TypeScript
import * as i0 from "@angular/core";
/** Service that generates unique IDs for DOM nodes. */
export declare class IdGenerator {
private readonly appId;
/**
* Generates a unique ID with a specific prefix.
* @param prefix Prefix to add to the ID.
*/
getId(prefix: string): string;
static ɵfac: i0.ɵɵFactoryDeclaration<IdGenerator, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<IdGenerator>;
}