Interface ManipulationMethods
Methods
addSlide
- addSlide(index: number, slides: string | HTMLElement | HTMLElement[] | string[]): void
-
Parameters
-
index: number
-
slides: string | HTMLElement | HTMLElement[] | string[]
Returns void
appendSlide
- appendSlide(slides: string | HTMLElement | HTMLElement[] | string[]): void
-
Parameters
-
slides: string | HTMLElement | HTMLElement[] | string[]
Returns void
prependSlide
- prependSlide(slides: string | HTMLElement | HTMLElement[] | string[]): void
-
Parameters
-
slides: string | HTMLElement | HTMLElement[] | string[]
Returns void
removeAllSlides
-
Returns void
removeSlide
- removeSlide(slideIndex: number | number[]): void
-
Parameters
-
slideIndex: number | number[]
Returns void
Add new slides to the required index. slides could be HTMLElement or HTML string with new slide or array with such slides, for example: