dojox
»
fx
»
easing
» sineInOut
dojox.fx.easing.sineInOut
dojo.require("dojox.fx.easing");
defined in dojox/fx/easing.js
Usage
function (/*
Decimal
?*/ n)
(view source)
return
-1
*
(
Math
.
cos
(
Math
.
PI*n
)
-
1
)
/
2
;
parameter
type
description
n
Decimal
Optional.