Skip to main content

use_scrollable_ref

Function use_scrollable_ref 

Source
pub fn use_scrollable_ref() -> Signal<Option<Rc<MountedData>>>
Expand description

A shorthand hook to access the MountedData of the parent ScrollableView.

Useful when you need to programmatically control the scroll container (e.g., calling scroll_to) from a child component.