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

Hard to feature-detect observe() parameters #176

Open
npm1 opened this issue Sep 22, 2020 · 0 comments
Open

Hard to feature-detect observe() parameters #176

npm1 opened this issue Sep 22, 2020 · 0 comments

Comments

@npm1
Copy link
Contributor

npm1 commented Sep 22, 2020

Currently there are newer observe() parameters such as type and buffered but it's not easy to feature-detect them. The only way I can think of doing it is to call the method to observe within a try/catch to figure out if they are supported by the current user agent or not. It's not ideal.

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

No branches or pull requests

2 participants