title: why can i not apply loop property inside specific property parameter in animejs
body: <p>I am trying to animate two blocks using animejs, when using translateX I cannot apply loop inside it.</p>
  <pre><code>  {
      value: 300,
      duration: 1000,
      delay: 500,
      easing: 'easeInOutSine'
    },
    {
      value: 0,
      duration: 1000,
      easing: 'easeInOutSine',
      direction: 'alternate', 
      loop: true
     }
  ],
  </code></pre>
  <p>This does not work. I could have used loops without using specific parameters but its necessary to introduce delay in the start, otherwise the animations start even before the content is loaded (I put the script tag in the end still it's happening), and if I try to use loop here then after each round it will continue the delay.</p>