Skip to content

Momentum

Namespace: E2E.Engine

public enum Momentum

Fling strength of a swipe: how far the gesture travels. Upstream’s Momentum (none, slow, fast).

View source

Fast = 2

A long stride: four fifths of a node on a device, one and a half extents on the web.

Value: Momentum

View source

None = 0

No fling: half an extent on the web, half a node on a device.

Value: Momentum

View source

Slow = 1

A short stride. The engine decides how far: a node swipe on a device is a quarter of the node, on the web three quarters of its extent.

Value: Momentum

View source