Closed hqwlkj closed 3 years ago
https://github.com/react-component/scroll-anim#scrollanimscrollscreeninitvars
在 IVarsProps 中没有 location 的定义,是不是现在不需要 location 参数了?
export interface IVarsProps { duration?: number; ease?: IEaseType; docHeight?: number; loop?: boolean; scrollInterval?: number; } export default class RcSCrollScreen { public static init: (vars?: IVarsProps) => void; public static unMount: () => void; }
ts 漏写了.
现在添加了吗?
2.7.6
谢谢
https://github.com/react-component/scroll-anim#scrollanimscrollscreeninitvars
在 IVarsProps 中没有 location 的定义,是不是现在不需要 location 参数了?