intrasheets 6.0.2 → 6.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/index.js +3 -3
- package/dist/index.mjs +977 -959
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,6 +50,10 @@ intrasheets.list(el, { height: '100vh' });
|
|
|
50
50
|
address, for example `{ url: 'https://host', path: 's/', api: 'https://host/s' }`.
|
|
51
51
|
- `width` and `height` size the container: a number is pixels, a string any CSS length. Without
|
|
52
52
|
them the container keeps the size the page gives it.
|
|
53
|
+
- `agent: true` shows the AI assistant (button and chat); it needs `@jspreadsheet/server-agent` on the
|
|
54
|
+
server. Without it the shell has no assistant.
|
|
55
|
+
- `focus: false` opens the document without focusing the grid, so a page that embeds the shell
|
|
56
|
+
further down does not scroll to it on load.
|
|
53
57
|
- Every `on<event>` option of `load` is a Jspreadsheet event handler, called after the shell's own
|
|
54
58
|
handler with the same arguments.
|
|
55
59
|
- `load` rejects when the document does not exist or the token cannot open it.
|