w3c / IntersectionObserver

Intersection Observer
https://www.w3.org/TR/intersection-observer/
Other
3.62k stars 531 forks source link

unobserve camelcase issue #487

Closed joekingTheThird3 closed 2 years ago

joekingTheThird3 commented 2 years ago

We seem to have isIntersecting but then we have unobserve(). I would guess that unObserve() is not possible?

miketaylr commented 2 years ago

I think the difference here is that "is intersecting" is (are?) two words, and "unobserve" is a single word, so I wouldn't expect it to be camel cased. But thanks for the feedback.