getSlidesCount();
The getSlidesCount method returns the number of dashboard slides.
To execute the example, make sure that the repository contains a dashboard with the 88665 key. The dashboard must contain 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:
console.log("Number of slides " + kapBox.getSlidesCount());
After executing the example, the console displays the message about the number of dashboard slides.
See also: