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