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

API for getting the current X domain #845

Open
keller-mark opened this issue Mar 6, 2023 · 0 comments
Open

API for getting the current X domain #845

keller-mark opened this issue Mar 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@keller-mark
Copy link

Use case: in react app, want to subscribe to X domain changes

Current workaround: I figured out how to do this using the underlying higlass API to subscribe to every viewConfig update, but this is not documented and relies on knowledge of the higlass view config

https://github.com/keller-mark/gosling-kpmp-example/blob/main/src/example/WidgetNavigation.js#L339

Possible solution: could offer a Gosling-specific JS API to subscribe to X domain changes

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

No branches or pull requests

1 participant