# Template Options

The file 📄 js/components.js contains all the template components initialization and custom code. At the very beginning of this file, you'll find the available template options which are safe to customize:

/**
 * Default Theme Options
 * Used to prevent errors if there is
 * no data provided from backend
 */
if (typeof window.theme === 'undefined') {
  window.theme = {
    ajax: {
      enabled: true,
      preventRules: '' // jQuery selectors of the elements to exclude them from AJAX transitions
    },
    animations: {
      triggerHook: 0.85, // more info https://scrollmagic.io/docs/ScrollMagic.Scene.html#triggerHook
      timeScale: {
        onScrollReveal: 1, // on-scroll animations global speed
        overlayMenuOpen: 1, // fullscreen menu open speed
        overlayMenuClose: 1.5, // fullscreen menu close speed
      }
    },
    cursorFollower: {
      enabled: true,
      labels: {
        slider: 'Drag'
      }
    },
    smoothScroll: { // more info https://github.com/idiotWu/smooth-scrollbar/tree/develop/docs
      enabled: true,
      damping: 0.12,
      renderByPixels: true,
      continuousScrolling: false,
      plugins: {
        edgeEasing: true
      }
    },
    contactForm7: {
      customModals: true
    }
  }
}