scrollTo.d.ts 269 B

12345678910111213
  1. import types = require('./types');
  2. declare function scrollTo(
  3. target: Element | string | number,
  4. options: {
  5. tolerance?: number;
  6. duration?: number;
  7. easing?: string | Function;
  8. callback?: types.AnyFn;
  9. }
  10. );
  11. export = scrollTo;