Which JavaScript public methods are available?


We've defined a global variable called Tiles which contains the following public methods.

// Open the page with the given '#pageID'
Tiles.open('#skills'); // Open Skills page
Tiles.open('#main-page'); // Return to the main page

// Open the next page
Tiles.openNext();

// Open the previous page
Tiles.openPrev();

// Reinitialize the scroll on the page if you have some dynamic content on it
Tiles.reinitScroll('#skills');

Last update:
2015-09-30 16:30
Author:
Cristina Cavruc
Revision:
1.1
Average rating:0 (0 Votes)