pub fn use_scroll() -> UseScrollExpand description
Obtains the UseScroll registered against the current hook context
slot.
Behaves like HookContext::use_hook - the same handle is returned on
every render at the same hook index, so the window listener is
attached once and the offsets survive re-renders.
ยงReturns
UseScroll- The handle, withget_x()andget_y()returning the reactive scroll offset signals.