PageSourceSearch

https://www.tryme.co/assets/controllers/projects/sample_onboarding/carousel_controller-372c7885.js

js tryme.co collected 2026-09-25 23:01:59 UTC 675 bytes, 31 lines download raw bytes

1import Carousel from 'stimulus-carousel'
2
3export default class extends Carousel {
4  connect() {
5    super.connect()
6
7    this.swiper.init();
8    this.swiper.snapGrid = [...this.swiper.slidesGrid];
9
10    // Default options for every carousels.
11    this.defaultOptions
12  }
13
14  // You can set default options in this getter.
15  get defaultOptions() {
16    return {
17      direction: "horizontal",
18      slidesPerView: 1,
19      // autoHeight: true,
20      calculateHeight: true,
21      pagination: {
22        el: ".swiper-pagination",
23        type: "fraction"
24      },
25      navigation: {
26        nextEl: ".swiper-button-next",
27        prevEl: ".swiper-button-prev",
28      }
29    }
30  }
31}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.