dojo._Animation.gotoPercent
<script src="../../js/dojo.js"></script>
defined in dojo/_base/fx.js
Sets the progress of the animation.
parameter | type | description |
---|---|---|
percent | Decimal | A percentage in decimal notation (between and including 0.0 and 1.0). |
andPlay | Boolean | Optional. If true, play the animation after setting the progress. |