Jump to content
Search Community

Kevonk

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Kevonk

  1. Hi All,

    I have been using Gsap with React-Typescript for awhile. I wanted to have an onclick button to skip to the next label and play from that label. 
    On the Gsap documents, it says that seek can take a label or number. However, looking at animations.d.ts number is the only option out of the two.

    Thus, is there a work around this?

    I used "yarn add gsap" to install the module.

     

    Edit: Solved by adding //@ts-ignore

    2020-04-08 (1).png

    • Like 1
    • Thanks 1
×
×
  • Create New...