Skip to content

Commit

Permalink
Shortened getContinueGeneratingButton refs to getContinueButton
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Sep 16, 2024
1 parent 2c04afb commit 61095db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/USERGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
- [DOM related](#dom-related)
- [focusChatbar](#focuschatbar)
- [getChatBox](#getchatbox)
- [getContinueGeneratingButton](#getcontinuegeneratingbutton)
- [getContinueButton](#getContinueButton)
- [getFooterDiv](#getfooterdiv)
- [getHeaderDiv](#getheaderdiv)
- [getNewChatButton](#getnewchatbutton)
Expand Down Expand Up @@ -1075,14 +1075,14 @@ const chatbox = chatgpt.getChatBox();
chatgpt.alert(chatbox.value); // Example output: 'Hello from chatgpt.js!'
```

### getContinueGeneratingButton
### getContinueButton

Returns the 'Continue generating' button as an HTML element.

Example code:

```js
const continueBtn = chatgpt.getContinueGeneratingButton();
const continueBtn = chatgpt.getContinueButton();
continueBtn.click();
```

Expand Down

0 comments on commit 61095db

Please sign in to comment.