how to listen to screen position with Next js?

后端 未结 0 357
栀梦
栀梦 2021-01-01 07:52

i try to listen to the scroll of page to do manipulation on my navBar , what i want to do: if the window is scroll, set opaciy 0.5 to the nav. i mean ->

相关标签:
回答
  • 消灭零回复
提交回复
热议问题