Interface ManipulationMethods
Methods
addSlide
- addSlide(index: number, slides: string | HTMLElement | string[] | HTMLElement[]): void
-
Parameters
-
index: number
-
slides: string | HTMLElement | string[] | HTMLElement[]
Returns void
appendSlide
- appendSlide(slides: string | HTMLElement | string[] | HTMLElement[]): void
-
Parameters
-
slides: string | HTMLElement | string[] | HTMLElement[]
Returns void
prependSlide
- prependSlide(slides: string | HTMLElement | string[] | HTMLElement[]): void
-
Parameters
-
slides: string | HTMLElement | string[] | HTMLElement[]
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: