We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To all css properties that take a time, distance, or measurement
just.animate({ css: { x: '+=100to200px', // x(target, index, targets) { return index * 100 + just.random(0, 100, 'px') } } })
The text was updated successfully, but these errors were encountered:
The expression should be
const unitExpression = /^([+-][=]){0,1}[ ]*([\-]{0,1}[0-9]*[\.]{0,1}[0-9]*){0,1}[ ]*(to){0,1}[ ]*([\-]{0,1}[0-9]*[\.]{0,1}[0-9]*)[ ]*([a-z%]+){0,1}[ ]*$/i;
[1] = stepFunction [2] = startValue (or value if no endValue) [3] = range operator (the word to) [4] = endValue [5] = unit
+=100to200ms would translate to
[1] += [2] 100 [3] to [4] 200 [5] ms
Sorry, something went wrong.
Added for delays, going to table this otherwise for now
notoriousb1t
No branches or pull requests
To all css properties that take a time, distance, or measurement
The text was updated successfully, but these errors were encountered: