Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
wang0618 committed Apr 21, 2024
1 parent 14d4087 commit eba9eb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pywebio_battery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
* - `put_audio <pywebio_battery.put_audio>`
- Output audio
* - `wait_scroll_to_bottom <pywebio_battery.wait_scroll_to_bottom>`
- Wait the page is scrolled to bottom
Web application related
^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion pywebio_battery/interaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def put_audio(src: Union[str, bytes], autoplay: bool = False, loop: bool = False


def wait_scroll_to_bottom(threshold: float = 10, timeout: float = None) -> bool:
"""Wait until the page is scrolled to bottom.
r"""Wait until the page is scrolled to bottom.
This function is useful to achieve infinite scrolling.
Expand Down

0 comments on commit eba9eb3

Please sign in to comment.