Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(api): add specTraversed to API documentation #83

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

thomcsmits
Copy link
Collaborator

Add documentation for api added with gosling-lang/gosling.js#978

docs/js-api.md Outdated
@@ -159,7 +159,7 @@ One of `"mouseOver"`, `"rangeSelect"`, `"click"`, `"rawData"`, `"onNewTrack"`, `
id: string
}
```
- For `"rawData"`, the `eventData` stores columnar data that has been used internally in Gosling to display the view:
- For `"rawData"` and `"specTraversed"`, the `eventData` stores columnar data that has been used internally in Gosling to display the view:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a separate sentence or a paragraph to describe the new API will be helpful for users. To clarify, rawData gives users the data that is shown in the visualization and not the user specification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants