Skip to content

armgit / anime

Public Imported from GitHub
0

JavaScript animation engine

Update complex properties examples

Julian Garnierf7dd758b7603
diff --git a/documentation/examples/anime-complex-properties.html b/documentation/examples/anime-complex-properties.html
index 3ce5e49e..ace93b8e 100644
--- a/documentation/examples/anime-complex-properties.html
+++ b/documentation/examples/anime-complex-properties.html
@@ -105,81 +105,81 @@
var filter = anime({
targets: '.filter',
filter: ["blur(20px)", "blur(0px)"],
- // loop: true,
- // direction: 'alternate',
+ loop: true,
+ direction: 'alternate',
easing: 'linear'
});
var rgba = anime({
targets: '.rgba',
backgroundColor: ['rgba(255,100,50,1)', 'rgba(255,100,50,.0)'],
- // loop: true,
- // direction: 'alternate',
+ loop: true,
+ direction: 'alternate',
easing: 'linear'
});
var calc = anime({
targets: '.calc',
height: ['calc(25% - 100px)', 'calc(25% - 0px)'],
- // loop: true,
- // direction: 'alternate',
+ loop: true,
+ direction: 'alternate',
easing: 'linear'
});
var zeroValue = anime({
targets: '.zero-value',
scale: 0,
- // loop: true,
- // direction: 'alternate',
+ loop: true,
+ direction: 'alternate',
easing: 'linear'
});
var roundValue = anime({
targets: '.round-value',
translateY: 100,
round: .1,
- // loop: true,
- // direction: 'alternate',
+ loop: true,
+ direction: 'alternate',
easing: 'linear'
});
var clipPath = anime({
targets: '.clip-path',
clipPath: ['circle(0px at center)', 'circle(100px at center)'],
- // loop: true,
- // direction: 'alternate',
+ loop: true,
+ direction: 'alternate',
easing: 'linear'
});
var svgTransform = anime({
targets: 'rect',
transform: 'translate(10 10) scale(2)',
- // loop: true,
- // direction: 'alternate',
+ loop: true,
+ direction: 'alternate',
easing: 'linear'
});
var rangeValue = anime({
- targets: 'input',
+ targets: 'input[type="range"]',
value: 100,
- // loop: true,
- // direction: 'alternate',
+ loop: true,
+ direction: 'alternate',
easing: 'linear'
});
var basicCSS = anime({
targets: '.basic-css',
width: 50,
height: 50,
- // loop: true,
- // direction: 'alternate',
+ loop: true,
+ direction: 'alternate',
easing: 'linear'
});
var autoProperty = anime({
targets: '.auto-property',
backgroundSize: ['auto 10px', 'auto 400px'],
margin: '20% 40px 10px 30px',
- // loop: true,
- // direction: 'alternate',
+ loop: true,
+ direction: 'alternate',
easing: 'linear'
});
var exponentValues = anime({
targets: '.exponent-values',
value: '+1.0123456789012346e+21px',
- // loop: true,
- // direction: 'alternate',
+ loop: true,
+ direction: 'alternate',
easing: 'linear'
});
</script>