Skip to content

Commit 5231825

Browse files
authored
Fix typo (#92)
1 parent 4a2b377 commit 5231825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/website/docs/web-api/page_visibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Uses [Page Visibility API](https://developer.mozilla.org/en-US/docs/Web/API/Page
1414

1515
## Usage
1616

17-
All you need to do is to create an integration by calling `trackWindowFocus` with an integration options:
17+
All you need to do is to create an integration by calling `trackPageVisibility` with an integration options:
1818

1919
- `setup`: after this [_Event_](https://effector.dev/en/api/effector/event/) all listeners will be installed, and the integration will be ready to use; it is required because it is better to use [explicit initialization _Event_ in the application](/magazine/explicit_start).
2020
- `teardown?`: after this [_Event_](https://effector.dev/en/api/effector/event/) all listeners will be removed, and the integration will be ready to be destroyed.

0 commit comments

Comments
 (0)