The componentn is written to be used with browserify.
$ npm install swiper-fullscreen
Then you can create an instance of the slider and manage it through API.
var swiperFullscreen =...options...;swiperFullscreen;
const options =navigation: true //show navigation arrows if slides number is more than 1swiper: ...object... // swiper settings for the slideshow;const swiperFullscreen = options;swiperFullscreenswiper; // the instance's swiper object so you can manipulate itswiperFullscreen; //instance's method to show the dialog popup. 'slideIndex' parameter is optionalswiperFullscreen; // hide the dialog with the sliderswiperFullscreen; //...and show it