Skip to content

Commit c6facd5

Browse files
authored
Update README.md
1 parent bdca0aa commit c6facd5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resize/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ The `resize` method allows you to resize and reposition the browser window dynam
1212

1313
// Client
1414
const hb = await Hyperbeam(container, embedUrl);
15-
hb.resize({
16-
width: // width in pixels
17-
height: // height in pixels
18-
});
15+
hb.resize(
16+
width, // width in pixels
17+
height // height in pixels
18+
);
1919

2020
```
2121

0 commit comments

Comments
 (0)