Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: change useLoop title level #893

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/composables.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const context = useTresContext()
| **advance** | a method to advance the render loop. This is only required if you set the `render-mode` prop to `manual`. |
| **loop** | the renderer loop |

### useLoop <Badge text="v4.0.0" />
## useLoop <Badge text="v4.0.0" />

This composable allows you to execute a callback on every rendered frame, similar to `useRenderLoop` but unique to each `TresCanvas` instance and with access to the [context](#usetrescontext).

Expand Down