Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

Lauritz Offe

  • Posts

  • Joined

  • Last visited

Lauritz Offe's Achievements

  1. The Solution was that is is possible to use js in an option field: onEnter: () => { //here you can use js return someValue; },
  2. @Cassie Thank you for your answer
  3. Hi, for my Projekt in TYPO3 I need to use variables in my Animation / ScrollTrigger . Somethin like that... var myid1 = somefunction1 var myid2 = somefunction2 ScrollTrigger.create({ trigger: '#step-2', start: 'top center', onEnter: myid1, onLeaveBack: myid2, markers: false, id: 'second-box' }); Is this even possible? I don´t need to change the variables on the fly. Thanks in advance Lauritz Offe