Skip to content

Commit 9dc484e

Browse files
duncan-baynekivikakk
authored andcommitted
Tweak README to include mobile example
1 parent 552451e commit 9dc484e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ If `:mobile` is `true`:
10971097
2. Touch emulation will be enabled, with a maximum of 1 touch point.
10981098

10991099
```ruby
1100-
page.set_viewport(width: 1000, height: 600, scale_factor: 3)
1100+
page.set_viewport(width: 1000, height: 600, scale_factor: 3, mobile: true)
11011101
```
11021102

11031103

0 commit comments

Comments
 (0)