> ## Documentation Index
> Fetch the complete documentation index at: https://velt.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# July 09 2024

## Versions

* Latest React SDK: [2.0.3](https://www.npmjs.com/package/@veltdev/react)
* Latest Non-React SDK: [2.0.3](https://www.npmjs.com/package/@veltdev/client)
* Latest Types:  [2.0.3](https://www.npmjs.com/package/@veltdev/types)

## Added `selectCommentByAnnotationId` Method in Comment Element

A new method [`selectCommentByAnnotationId`](https://velt.dev/docs/api-reference/api-methods/comments#selectcommentbyannotationid) has been added to the comment element, allowing you to select a comment based on its annotation ID.

> [tab] React / Next.js
>
> ```jsx theme={null}
> const commentElement = client.getCommentElement();
> commentElement.selectCommentByAnnotationId("COMMENT_ANNOTATION_ID");
> ```

> [tab] Other Frameworks
>
> ```jsx theme={null}
> const commentElement = Velt.getCommentElement();
> commentElement.selectCommentByAnnotationId("COMMENT_ANNOTATION_ID");
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.