Definition of main methods of SlidesWidget and Presentation JS classes