pub type ScrollNotificationCallback = Rc<dyn Fn(&mut App, &dyn ScrollNotification)>;Expand description
A ScrollNotification listener for ScrollNotificationObserver.
ScrollNotificationObserver is similar to
NotificationListener. It supports a listener list instead of
just a single listener and its listeners run unconditionally, they
do not require a gating boolean return value.
Aliased Typeยง
pub struct ScrollNotificationCallback { /* private fields */ }