Skip to content

Commit

Permalink
Documentation for react option (#103)
Browse files Browse the repository at this point in the history
feat: reactive option
  • Loading branch information
etowahadams authored Jun 17, 2024
1 parent 6d3ad22 commit 290cbfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/js-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { GoslingComponent} from 'gosling.js';
| `id` | string | Id of the component |
| `className` | string | CSS class to apply to the component |
| `theme` | object | See [themes](../../themes) |
| `reactive` | boolean | Default: `true`. If `spec` is updated, the existing tracks will keep their zoom position |
| `urlToFetchOptions` | object | Each object follows the form `"{[url: string]: RequestInit}"` where [RequestInit](https://microsoft.github.io/PowerBI-JavaScript/interfaces/_node_modules_typedoc_node_modules_typescript_lib_lib_dom_d_.requestinit.html) is also an object. When fetching data from URL which matches a key in this object, Gosling will use the corresponding `RequestInit` when making the fetch request. |


Expand Down

0 comments on commit 290cbfa

Please sign in to comment.