outsystems-ui - v3.0.0
    Preparing search index...

    Class SpringAnimationAbstract

    Class to manage the creation of a SpringAnimation

    Index
    • Method to create a Spring Animation

      Parameters

      • target: HTMLElement

        Element that receives the drag animation

      • offsetX: number

        Horizontal distance travelled by the gesture, in pixels

      • offsetY: number

        Vertical distance travelled by the gesture, in pixels

      • orientation: Orientation

        Orientation of the spring animation (horizontal or vertical)

      • springProperties: SpringAnimationProperties

        Spring animation properties applied when the drag ends

      Returns Animation