Jump to content
GreenSock

ExpoScaleEase.config()

Added in version: 1.20.4
ExpoScaleEase.config( startingScale:Number, endingScale:Number, ease:Ease [optional] ) ;

Returns an ease that's built specifically for the starting and ending values you define. By default, it uses a Linear.easeNone ease, but you can optionally define a different one in the 3rd parameter, like Power2.easeInOut.

Parameters

startingScale: Number

The starting scale

endingScale: Number

The ending scale

ease: Ease [optional]

By default, ExpoScaleEase uses Linear.easeNone but you can use any ease you want - just reference it here, like Power2.easeInOut

Details

Returns an ease that's built specifically for the starting and ending values you define. By default, it uses a Linear.easeNone ease, but you can optionally define a different one in the 3rd parameter, like Power2.easeInOut.
Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.
×