moveSlideToPosition(index);
index. Index of the slide, with must be replaced with the active slide.
The moveSlideToPosition method moves dashboard slide to the specified position.
To execute the example, make sure that the repository contains a dashboard with the 88665 key. The dashboard must contain at least four slides.
Create an HTML page with example of placing the KapBox component and execute the following operations:
Open the dashboard with the 88665 key:
Select the Document > Open main menu item
Execute the following in the console:
kapBox.open({
Key: 88665
});
Execute the following in the console:
// Get fourth slide
kapBox.showSlide({
SlideIndex: 3
})
// Move slide to the place of the second slide
kapBox.moveSlideToPosition(1);
After executing the example, the fourth slide is moved to the place of the second slide.
See also: