on_scrolled


Description:

protected virtual Animation on_scrolled (ScrollDirection direction, ModifierType mod)

Called when an item is scrolled over.

Parameters:

direction the scroll direction
mod the modifiers

Returns:

which type of animation to trigger