friendly-captcha-sdk > FriendlyCaptchaSDK > getWidgetById
FriendlyCaptchaSDK.getWidgetById() method
Signature:
getWidgetById(id: string): WidgetHandle | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
id | string | Retrieves a widget by its widget ID. |
Returns:
WidgetHandle | undefined