Skip to main content
Version: 1.x

@microsoft/fast-animation > ViewEnterTrigger

ViewEnterTrigger class

Utility for registering element/callback pairs where the callback will be called when the element enters the view-port

Signature:
export default class ViewEnterTrigger extends ScrollBase 

Methods

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