position: sticky events
IntersectionObserverを使うことで、scrollイベントを使わずにsticky headerを実現するデモ
https://developers.google.com/web/updates/2017/09/sticky-headers
position: sticky events
何が嬉しいのか
cssのposition:stickyでは足りていないイベントが発火できる
stickyになった時とか