docs: ?autoInit=false docs

This commit is contained in:
Simon
2026-05-11 19:28:49 +08:00
parent 35ab12a20a
commit f05bf68f61
3 changed files with 9 additions and 0 deletions

View File

@@ -53,6 +53,8 @@ Fastest way to try PageAgent with our free Demo LLM:
| Global | https://cdn.jsdelivr.net/npm/page-agent@1.8.1/dist/iife/page-agent.demo.js |
| China | https://registry.npmmirror.com/page-agent/1.8.1/files/dist/iife/page-agent.demo.js |
Add `?autoInit=false` to load the script without creating the demo agent automatically. You can then instantiate it with `new window.PageAgent(...)`.
### NPM Installation
```bash