subtirelumihail/react-fullpage

How can I use callbacks like 'afterLoad' in React?

Henri-Zhang opened this issue · 0 comments

I tried this,

test(anchorLink, index) {
    console.log(anchorLink)
    console.log(index)
  }
let options = { 
       ...
      afterLoad: this.test()
}

I can't get the parameters.