impress.js comes up with four useful API functions that can be used to customize the functionality of presenting information in various techniques. We have already worked with the init
function throughout the previous chapters. In this section, we are going to focus on three more API functions. Before we dig into the details, let's create an impress object to use API functions, using the following code:
var api = impress();
We used impress().init
throughout the previous chapters to initialize presentations. In order to use API, we need the impress object as given in the preceding code. Once created we can call API methods on the impress object with ease.
The following list contains the impress.js API methods and their respective functionality: