@microsoft/fast-animation > ScrollTrigger
ScrollTrigger class
Utility for registering element/callback pairs where the callback will be called on scroll while the element is in view.
Signature:export default class ScrollTrigger extends ScrollBase
Methods
Method | Modifiers | Description |
---|---|---|
update() | Check if elements are in view-port and apply scroll method if they are |