Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • VirtualMethods

Index

Properties

cache

cache: object

Object with cached slides HTML elements

Optional enabled

enabled: boolean

from

from: number

Index of first rendered slide

slides

slides: any[]

Array with slide items passed by virtual.slides parameter

to

to: number

Index of last rendered slide

Methods

appendSlide

  • appendSlide(slide: string | HTMLElement | HTMLElement[] | string[]): void
  • Append slide. slides can be a single slide item or array with such slides.

    Parameters

    • slide: string | HTMLElement | HTMLElement[] | string[]

    Returns void

prependSlide

  • prependSlide(slide: string | HTMLElement | HTMLElement[] | string[]): void
  • Prepend slide. slides can be a single slide item or array with such slides.

    Parameters

    • slide: string | HTMLElement | HTMLElement[] | string[]

    Returns void

removeAllSlides

  • removeAllSlides(): void
  • Remove all slides

    Returns void

removeSlide

  • removeSlide(slideIndexes: number[]): void
  • Remove specific slide or slides. slideIndexes can be a number with slide index to remove or array with indexes.

    Parameters

    • slideIndexes: number[]

    Returns void

update

  • update(force: boolean): void
  • Update virtual slides state

    Parameters

    • force: boolean

    Returns void

Generated using TypeDoc