Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

3 лет назад
12345678910111213141516171819202122232425262728293031323334353637383940
  1. import { ScrollbarOptions } from './interfaces/';
  2. export declare class Options {
  3. /**
  4. * Momentum reduction damping factor, a float value between `(0, 1)`.
  5. * The lower the value is, the more smooth the scrolling will be
  6. * (also the more paint frames).
  7. */
  8. damping: number;
  9. /**
  10. * Minimal size for scrollbar thumbs.
  11. */
  12. thumbMinSize: number;
  13. /**
  14. * Render every frame in integer pixel values
  15. * set to `true` to improve scrolling performance.
  16. */
  17. renderByPixels: boolean;
  18. /**
  19. * Keep scrollbar tracks visible
  20. */
  21. alwaysShowTracks: boolean;
  22. /**
  23. * Set to `true` to allow outer scrollbars continue scrolling
  24. * when current scrollbar reaches edge.
  25. */
  26. continuousScrolling: boolean;
  27. /**
  28. * Delegate wheel events and touch events to the given element.
  29. * By default, the container element is used.
  30. * This option will be useful for dealing with fixed elements.
  31. */
  32. delegateTo: EventTarget | null;
  33. wheelEventTarget: EventTarget | null;
  34. /**
  35. * Options for plugins. Syntax:
  36. * plugins[pluginName] = pluginOptions: any
  37. */
  38. readonly plugins: any;
  39. constructor(config?: Partial<ScrollbarOptions>);
  40. }