Closed GiorgioPeng closed 4 years ago
I believe you're referring to options.cleanup
, which is an option to control whether or not the clean()
method is called automatically after reveals.
Sorry, I made a mistake. But when I tried to use the options.cleanup, it still reminded me there is something wrong.
And I found a mistake in the API documentation.
Well there aren't first party typings. Where are you getting these types? Specifically, where is the ScrollRevealObjectOptions
interface defined?
Thank you, I know how to solve the problem now. I got it by
yarn add @types/scrollreveal
when I use create-react-app and Typescript.
And it reminds me can not find "clean". And when I checked the Declaration file which is created by ts, I also could not find the "clean" attribute. Can I use it in TypeScript?