'use strict'; module.exports = { mode: { valType: 'enumerated', dflt: 'afterall', values: ['immediate', 'next', 'afterall'], description: [ 'Describes how a new animate call interacts with currently-running', 'animations. If `immediate`, current animations are interrupted and', 'the new animation is started. If `next`, the current frame is allowed', 'to complete, after which the new animation is started. If `afterall`', 'all existing frames are animated to completion before the new animation', 'is started.' ].join(' ') }, direction: { valType: 'enumerated', values: ['forward', 'reverse'], dflt: 'forward', description: [ 'The direction in which to play the frames triggered by the animation call' ].join(' ') }, fromcurrent: { valType: 'boolean', dflt: false, description: [ 'Play frames starting at the current frame instead of the beginning.' ].join(' ') }, frame: { duration: { valType: 'number', min: 0, dflt: 500, description: [ 'The duration in milliseconds of each frame. If greater than the frame', 'duration, it will be limited to the frame duration.' ].join(' ') }, redraw: { valType: 'boolean', dflt: true, description: [ 'Redraw the plot at completion of the transition. This is desirable', 'for transitions that include properties that cannot be transitioned,', 'but may significantly slow down updates that do not require a full', 'redraw of the plot' ].join(' ') }, }, transition: { duration: { valType: 'number', min: 0, dflt: 500, editType: 'none', description: [ 'The duration of the transition, in milliseconds. If equal to zero,', 'updates are synchronous.' ].join(' ') }, easing: { valType: 'enumerated', dflt: 'cubic-in-out', values: [ 'linear', 'quad', 'cubic', 'sin', 'exp', 'circle', 'elastic', 'back', 'bounce', 'linear-in', 'quad-in', 'cubic-in', 'sin-in', 'exp-in', 'circle-in', 'elastic-in', 'back-in', 'bounce-in', 'linear-out', 'quad-out', 'cubic-out', 'sin-out', 'exp-out', 'circle-out', 'elastic-out', 'back-out', 'bounce-out', 'linear-in-out', 'quad-in-out', 'cubic-in-out', 'sin-in-out', 'exp-in-out', 'circle-in-out', 'elastic-in-out', 'back-in-out', 'bounce-in-out' ], editType: 'none', description: 'The easing function used for the transition' }, ordering: { valType: 'enumerated', values: ['layout first', 'traces first'], dflt: 'layout first', editType: 'none', description: [ 'Determines whether the figure\'s layout or traces smoothly transitions', 'during updates that make both traces and layout change.' ].join(' ') } } };