Optional
thresholdThreshold value between 0 and 1 indicating what percentage of the element should be visible. Default is 0.5 (50%).
Optional
triggerIf true, the callback will only be triggered once when the element enters the viewport. Default is true.
Options for the useInViewObserver hook.