Interface ISnapSlideProps

interface ISnapSlideProps {
    size?: null | number | string & {} | "auto" | "stretch";
    virtual?: boolean;
}

Properties

Properties

size?: null | number | string & {} | "auto" | "stretch"

Slide size. Supported values:

  • auto detects slide size depending on the element or container size.
  • stretch detects slide size as the container size.
  • number defines the slide size in pixels.
  • css units like px, rem, vw, vh, svh.
virtual?: boolean

If the slide is virtual. When true, the element will be automatically appended to the container when it becomes visible.

false