Dashboard.moveSlideUp

Syntax

moveSlideUp();

Description

The moveSlideUp method moves dashboard slide one position up.

Example

To execute the example, make sure that the repository contains a dashboard with the 88665 key. The dashboard must contain at least three slides.

Create an HTML page with example of placing the KapBox component and execute the following operations:

  1. Open the dashboard with the 88665 key:

kapBox.open({
    Key: 88665
});
  1. Execute the following in the console:

// Get second slide
kapBox.showSlide({
    SlideIndex: 1
})
// Move slide one position up
kapBox.moveSlideUp();

After executing the example, the second slide is moved one position up.

See also:

Dashboard