Functiondojo._Animation.gotoPercent

<script src="../../js/dojo.js"></script>
defined in dojo/_base/fx.js

Sets the progress of the animation.

Usage

function (/*Decimal*/ percent, /*Boolean?*/ andPlay) (view source)
parametertypedescription
percentDecimalA percentage in decimal notation (between and including 0.0 and 1.0).
andPlayBooleanOptional. If true, play the animation after setting the progress.