Jump to content
Search Community

Lauritz Offe

Members
  • Posts

    3
  • 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
×
×
  • Create New...