defaults.ts 935 B

1234567891011121314151617181920212223242526272829303132333435
  1. import { Options } from '../types';
  2. import { CLASSES } from './classes';
  3. import { I18N } from './i18n';
  4. /**
  5. * The collection of default options.
  6. * Note that this collection does not contain all options.
  7. *
  8. * @since 3.0.0
  9. */
  10. export const DEFAULTS: Options = {
  11. type : 'slide',
  12. role : 'region',
  13. speed : 400,
  14. waitForTransition: true,
  15. perPage : 1,
  16. cloneStatus : true,
  17. arrows : true,
  18. pagination : true,
  19. interval : 5000,
  20. pauseOnHover : true,
  21. pauseOnFocus : true,
  22. resetProgress : true,
  23. keyboard : true,
  24. easing : 'cubic-bezier(0.25, 1, 0.5, 1)',
  25. drag : true,
  26. direction : 'ltr',
  27. slideFocus : true,
  28. trimSpace : true,
  29. focusableNodes : 'a, button, textarea, input, select, iframe',
  30. live : true,
  31. classes : CLASSES,
  32. i18n : I18N,
  33. };