Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojo/fx/easing.js

  • Provides:

    • dojo.fx.easing
  • dojo.fx.easing

    • summary
      Collection of easing functions to use beyond the default
      <code>dojo._defaultEasing</code> function.
    • description
      Easing functions are used to manipulate the iteration through
      an `dojo.Animation`s _Line. _Line being the properties of an Animation,
      and the easing function progresses through that Line determing
      how quickly (or slowly) it should go. Or more accurately: modify
      the value of the _Line based on the percentage of animation completed.
      
      All functions follow a simple naming convention of "ease type" + "when".
      If the name of the function ends in Out, the easing described appears
      towards the end of the animation. "In" means during the beginning,
      and InOut means both ranges of the Animation will applied, both
      beginning and end.
      
      One does not call the easing function directly, it must be passed to
      the `easing` property of an animation.
    • example
      	dojo.require("dojo.fx.easing");
      	var anim = dojo.fadeOut({
      		node: 'node',
      		duration: 2000,
      		//	note there is no ()
      		easing: dojo.fx.easing.quadIn
      	}).play();
    • type
      Object
  • dojo.fx.easing.linear

    • parameters:
      • n: (typeof Decimal)
    • summary
      A linear easing function
    • type
      Function
  • dojo.fx.easing.quadIn

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.quadOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.quadInOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.cubicIn

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.cubicOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.cubicInOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.quartIn

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.quartOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.quartInOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.quintIn

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.quintOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.quintInOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.sineIn

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.sineOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.sineInOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.expoIn

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.expoOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.expoInOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.circIn

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.circOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.circInOut

    • parameters:
      • n: (typeof Decimal)
    • type
      Function
  • dojo.fx.easing.backIn

    • parameters:
      • n: (typeof Decimal)
    • summary
      An easing function that starts away from the target,
      and quickly accelerates towards the end value.
      
      Use caution when the easing will cause values to become
      negative as some properties cannot be set to negative values.
    • type
      Function
  • dojo.fx.easing.backOut

    • parameters:
      • n: (typeof Decimal)
    • summary
      An easing function that pops past the range briefly, and slowly comes back.
    • description
      An easing function that pops past the range briefly, and slowly comes back.
      
      Use caution when the easing will cause values to become negative as some
      properties cannot be set to negative values.
    • type
      Function
  • dojo.fx.easing.backInOut

    • parameters:
      • n: (typeof Decimal)
    • summary
      An easing function combining the effects of <code>backIn</code> and <code>backOut</code>
    • description
      An easing function combining the effects of `backIn` and `backOut`.
      Use caution when the easing will cause values to become negative
      as some properties cannot be set to negative values.
    • type
      Function
  • dojo.fx.easing.elasticIn

    • parameters:
      • n: (typeof Decimal)
    • summary
      An easing function the elastically snaps from the start value
    • description
      An easing function the elastically snaps from the start value
      
      Use caution when the elasticity will cause values to become negative
      as some properties cannot be set to negative values.
    • type
      Function
  • dojo.fx.easing.elasticOut

    • parameters:
      • n: (typeof Decimal)
    • summary
      An easing function that elasticly snaps around the target value,
      near the end of the Animation
    • description
      An easing function that elasticly snaps around the target value,
      near the end of the Animation
      
      Use caution when the elasticity will cause values to become
      negative as some properties cannot be set to negative values.
    • type
      Function
  • dojo.fx.easing.elasticInOut

    • parameters:
      • n: (typeof Decimal)
    • summary
      An easing function that elasticly snaps around the value, near
      the beginning and end of the Animation.
    • description
      An easing function that elasticly snaps around the value, near
      the beginning and end of the Animation.
      
      Use caution when the elasticity will cause values to become
      negative as some properties cannot be set to negative values.
    • type
      Function
  • dojo.fx.easing.bounceIn

    • parameters:
      • n: (typeof Decimal)
    • returns
      Decimal
    • summary
      An easing function that 'bounces' near the beginning of an Animation
    • type
      Function
  • dojo.fx.easing.bounceOut

    • parameters:
      • n: (typeof Decimal)
    • summary
      An easing function that 'bounces' near the end of an Animation
    • type
      Function
  • dojo.fx.easing.bounceInOut

    • parameters:
      • n: (typeof Decimal)
    • returns
      Decimal
    • summary
      An easing function that 'bounces' at the beginning and end of the Animation
    • type
      Function
  • dojo.fx

    • type
      Object
  • dojo

    • type
      Object