utils/angular/scroll_host/interface library
Classes
- GestureEvent
- Adds the element where the gesture began to ScrollHostEvent.
- GestureListener
- Listens to touch events on an element and exposes a scrollStream of ScrollHostEvent events fired as the user moves their finger.
- GestureListenerFactory
- A layer of indirection to allow injection.
- PanController
- Recognizes and interprets pan-related events and user intents.
- PanEvent
- A pan event.
- ScrollHost
- Provides access to a scrollbar, its size and their change events.
- ScrollHostEvent
- The object that gets sent on scroll events.
- ScrollObserver
- Helper class to detect scroll activity start/end points.
- StickyController
- Coordinates sticky headers and footers, handles their appearance and their in- and out animation.
Enums
- GestureDirection
- StickyPosition
- The position of the sticky row.
Properties
- stickyControllerZIndex ↔ int
-
Sticky controller z index.
getter/setter pair
Functions
-
innerScrollableDirections(
Element? host, EventTarget? target) → Map< GestureDirection, bool> -
Directions in which a parent of
target
can scroll within thehost
. -
scrollDirection(
num deltaX, num deltaY) → GestureDirection?
Typedefs
- DirectionCheck = bool Function(GestureDirection? direction)
- ScrollObserverIdleCallback = void Function(bool idle)