Skip to main content
Version: 1.x

@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

MethodModifiersDescription
update()Check if elements are in view-port and apply scroll method if they are