Swipeable switching image sequence

Author

Marcel Duin marcel@micr.io

Copyright

Q42 Internet BV, Micrio, 2015 - 2024

Link

https://micr.io/ , https://q42.nl/en/

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • micrio: HTMLMicrioElement
    • length: number
    • goto: ((i) => void)
        • (i): void
        • Parameters

          • i: number

          Returns void

    • opts: {
          continuous?: boolean;
          coverLimit?: boolean;
          sensitivity?: number;
      } = {}
      • Optional continuous?: boolean
      • Optional coverLimit?: boolean
      • Optional sensitivity?: number

    Returns GallerySwiper

Properties

goto: ((i) => void)

Type declaration

    • (i): void
    • Parameters

      • i: number

      Returns void

Accessors

  • get currentIndex(): number
  • Returns number

Methods

  • Same as .goto(), but animate the rotation

    Parameters

    • idx: number

    Returns void

  • Returns void