Fix incorrect method name in renderInto docs example

The code example for renderInto was calling renderWhenReady instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jordan Eldredge 2026-06-15 10:32:05 -07:00
parent f7e163a2e4
commit a0c018ac0f

View file

@ -243,7 +243,7 @@ A promise is returned which will resolve after the render is complete.
```ts
const container = document.getElementById("webamp-container");
webamp.renderWhenReady(container).then(() => {
webamp.renderInto(container).then(() => {
console.log("rendered webamp!");
});
```